Viewing 1 replies (of 1 total)
  • Plugin Author WPSOLR

    (@wpsolr)

    Solr is an incredibly flexible search engine, thanks to its configuration files, plugins, and resource files.

    It is virtually impossible to manage all of that, for each Solr version, or even a small part of that, from WPSOLR, without loosing some Solr features.

    If your concern is only about synonyms.txt, there are plenty of tutorials to help you. See also http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory.
    Basically, you have to :
    – Add a filter line to your schema.xml, probably to the field “text” indexing analyser section(the default search field for WPSOLR).
    Something like: <filter class=”solr.SynonymFilterFactory” synonyms=”synonyms.txt” ignoreCase=”true” expand=”true”/>
    – Copy your resource file to your Solr index conf directory
    – Reload your index core from the Solr admin UI

Viewing 1 replies (of 1 total)

The topic ‘Synonyms schema.xml..’ is closed to new replies.