• Resolved zelle7

    (@zelle7)


    Hi
    the plugin works quite fine, but I had to do some changes in the schema.xml and solrconfig.xml files to tweak the results for our usage (e.g. boosting the title and boost certain custom post types).

    My question is: Why does the plugin search uses the q=text:$querytext form, as with this case boosting certain fields does not lead to the same results as in the admin interface of the solr server.
    I’ve tried to adapt the search client and remove the “text” param so that the query is now q=$querytext.

    Are there any benefits from using the form q=text:$querytext, which I do oversee? Because it seem to behave (except that I get now the boosted result) the same way without it.

    Thanks!
    Christian

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WPSOLR

    (@wpsolr)

    Hi,

    In later versions, you will be able to customize the search query.

    I noticed some facets issues when using q=$querytext, hence the use of q=text:$querytext.

    Thread Starter zelle7

    (@zelle7)

    ok thx for the quick answer, I will stay with this solution for now, if I find something strange and I can figure it out I will send you a merge request.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘change default query behaviour’ is closed to new replies.