Hi,

I have some problem with combining the query with multiple parital-word
searching in dismax handler. In order to make multiple partial word
searching, I use EdgeNGramFilterFactory, and my query must be something like
this: "name_ngram:sun name_ngram:hot" in q.alt combined with my search
handler (
http://localhost:8081/solr/select/?q.alt=name_ngram:sun%20name_ngram:hot&qt=products).
I wonder how I combine this with my search handler.

Here is my search handler config:
  <requestHandler name="products" class="solr.SearchHandler">
    <lst name="defaults">
      <str name="echoParams">explicit</str>
      <int name="rows">20</int>
      <str name="defType">dismax</str>
      <str name="qf">name^200 full_text</str>
      <str name="bf">fap^15</str>
      <str name="fl">uuid</str>
      <str name="version">2.2</str>
      <str name="indent">on</str>
      <str name="tie">0.1</str>
    </lst>
    <lst name="appends">
      <str name="fq">type:Product</str>
    </lst>
    <lst name="invariants">
      <str name="facet">false</str>
    </lst>
    <arr name="last-components">
      <str>spellcheck</str>
      <str>elevateProducts</str>
    </arr>
  </requestHandler>

If I query with this url
http://localhost:8081/solr/select/?q.alt=name_ngram:sun%20name_ngram:hot&q=sun
hot&qt=products, it doesn't show the correct answer like the previous query.

How could configure this in my search handler with boost score?

-- 
Chhorn Chamnap
http://chamnapchhorn.blogspot.com/

Reply via email to