• Resolved kokdemir

    (@kokdemir)


    I am aware that SOLR is a non wordpress system not like relevanssi, searchwp etc..

    But, I found hard to play with synonyms.txt file and make relevant changes on schema.xml which are quite easy with wordpress based search plugins.

    Do you have any plan to make this easier via wordpress plugin?

    https://ww.wp.xz.cn/plugins/wpsolr-search-engine/

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.