I have recreated indexes with phonetic filter factory but i am still facing
below mentioned issue. Please let me know if i am missing something:

I am searching for product_12345 string, which is present in only one
record.

Issue: Solr return me all indexes which have product_ i.e. it ignore the
string present after _.

Also debugQuery looks like :
 <lst name="debug">
  <str name="rawquerystring">product_4844308</str>
  <str name="querystring">product_4844308</str>
  <str name="parsedquery">PhraseQuery(all:"PRTK ")</str>
  <str name="parsedquery_toString">all:"PRTK "</str>

Why is the query showing PRTK ?

Also when i use Dismaxrequest it shows:

<arr name="parsed_boost_queries">
  <str>all:ANKL^90.0 all:HNT^123.0 all:KLRS^2000.0 all:HLT^1.0E7
all:M0^100.0 all:KLR^100000.0</str>
  </arr>

Why is this showing ANKL, HNT, KLRS..... ?

Why does solr convert search string to  ANKL, HNT, KLRS ... strings? 


Erik Hatcher wrote:
> 
> 
> On Jul 24, 2009, at 4:53 AM, prerna07 wrote:
>> Does that mean my indexes should be created with phonetic filter  
>> factory in
>> my fieldTypes? Currently I am quering on text fields and phonetic  
>> factory is
>> defined for uery analyser only.
> 
> Yes, if you are applying the phonetic filter you need to do so at  
> indexing AND query time.  Just doing it at query time is not going to  
> find anything except purely by coincidence.
> 
> Erik
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Exception-thrown-when-searching-field-defined-with-PhoneticFilterFactory-filter...-tp24543240p24645057.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to