lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Re: word stem
Date Sun, 02 Jun 2013 13:12:03 GMT
You haven't given us any indication of what the analyzer for the default 
search field looks like. In particular what stemmer it has configured. In 
any case, use the Solr Admin UI Analysis page to view the intermediate 
analysis results to see if or when the stemming filter is applied and what 
the result is.

And review the various "text_*" field types in the standard Solr example 
schema to see examples that use a stemming filter and make sure you use a 
similar technique. It could simply be that you haven't picked a field type 
that includes a stemming filter.

-- Jack Krupansky

-----Original Message----- 
From: Mysurf Mail
Sent: Sunday, June 02, 2013 8:13 AM
To: solr-user@lucene.apache.org
Subject: word stem

Using solr over my sql db I query the following

http://localhost:8983/solr/products/select?q=require&wt=xml&indent=true&fl=*,score

where the queried word "require" is found in the index since I imported the
following:

"Each frame is hand-crafted in our Bothell facility to the optimum diameter
and wall-thickness *required *of a premium mountain frame. The heat-treated
welded aluminum frame has a larger diameter tube that absorbs the bumps."

required!=require

I try it in the analysis tool in the portal for debugging and I see in the
fierld value the PST (stem) filter does make a token from the required as
requir
I write required in the debug query field and when I click on Analyse
Values I see requir is highlited.


But the http query only return values when I wuery required. not require.


Thanks. 


Mime
View raw message