lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Prioritizing advectives in solr search
Date Mon, 04 Oct 2010 12:46:23 GMT
Hi Hasnain,

You'll need to apply POS (Part of Speech) on the input at/before indexing, then 
store a payload with your adjective terms, and finally use of those payload 
values to change the scoring at query time.

Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



----- Original Message ----
> From: Hasnain <hasn_36@hotmail.com>
> To: solr-user@lucene.apache.org
> Sent: Fri, October 1, 2010 3:15:54 AM
> Subject: Prioritizing advectives in solr search
> 
> 
> Hi,
> 
>    My question is related to search results giving less  importance to
> adjectives, 
> 
> here is my scenario, im using dismax  handler and my understanding is when I
> query "Blue hammer", solr brings me  results for "blue hammer", "blue" and
> "hammer", and in the same hierarchy,  which is understandable, is there any
> way I can manage the "blue" keyword, so  that solr searches for "blue hammer"
> and "hammer" and not any results for  "blue".
> 
> my handler is as follows...
> 
>  <requestHandler  name="standard2" class="solr.SearchHandler">
>     <!-- default  values for query parameters -->
>      <lst  name="defaults">
>      <str  name="defType">dismax</str>
>        <str  name="echoParams">explicit</str>
>          <str name="tie">0.6</str>
>          <str name="pf">name^2.3  mat_nr^0.4</str>
>     <str name="mm">0%</str> 
> 
> any suggestion on this??
> -- 
> View this message in context: 
>http://lucene.472066.n3.nabble.com/Prioritizing-advectives-in-solr-search-tp1613029p1613029.html
>
> Sent  from the Solr - User mailing list archive at Nabble.com.
> 

Mime
View raw message