# # Search configuration # # search index configuration search_indexing_config = /search_indexing.conf # ------------------- # SearchIndexer replacement list # These replacements are applied to the content before indexing is triggered. # Use special value "nothing" if you want to delete certain characters/strings. # ------------------- search_indexing_replacements = { "[" = nothing, "]" = nothing } # ------------------- # MySQL Fulltext Plugin Configuration # ------------------- # Set to 0 if you don't want search input stemmed (ie. suffixes removed) prior to search # The plugin uses the English Snoball stemmer (http://snowball.tartarus.org/) and can give # poor results with non-English content. If you are cataloguing non-English material you # will probably want to turn this off. search_mysql_fulltext_do_stemming = 1 # Perl-compatible regular expression used to tokenize text for indexing. The text will be broken # up into words using any of the characters specified in the regular expression. The expression # should be bracketed with start and end markers (eg. ## or !!) # # If you change this setting you'll have to reindex your database to see a difference. search_mysql_fulltext_tokenize_preg = #[\.\,\!\?\_\- ]# # ------------------- # Solr Plugin Configuration # ------------------- # enter the home directory of the Solr here search_solr_home_dir = /usr/local/solr/ # enter the solr URL here search_solr_url = http://localhost:9090/solr # ------------------- # SqlSearch Plugin Configuration # ------------------- # Set to 0 if you don't want search input stemmed (ie. suffixes removed) prior to search # The plugin uses the English Snoball stemmer (http://snowball.tartarus.org/) and can give # poor results with non-English content. If you are cataloguing non-English material you # will probably want to turn this off. search_sql_search_do_stemming = 1 # Regex character class used when indexing; values matched will be used as token delimiters # (in other words, the search expression will be broken into words wherever the matched characters are) indexing_tokenizer_regex = ^\pL\pN\pNd/_#\@\& # Regex character class used when searching; values matched will be used as token delimiters # (this is the same thing as indexing_tokenizer_regex except that it's used when searching rather than indexing) search_tokenizer_regex = ^\pL\pN\pNd/_#\@\&\-\.