Re: solr result problem

2011-03-29 Thread Grijesh
Try LucidImagination's KStemmer

-
Thanx: 
Grijesh 
www.gettinhahead.co.in 
--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-result-problem-tp2746849p2747106.html
Sent from the Solr - User mailing list archive at Nabble.com.


solr result problem

2011-03-28 Thread anurag.walia
Thanks in advance.

Find the screen shot of analyzer for this 
http://lucene.472066.n3.nabble.com/file/n2746849/solr.jpg solr.jpg  problem
.

I have a problem with number of character in Term Text  . I entered
Polymer but after snowballporterfilterfactory it become Polym while it
was not exist in protwords.txt file . I want if any word does not exist in
protwords.txt Term Text should be whole world like Polymer 

Regards 
Anurag Walia 

--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-result-problem-tp2746849p2746849.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr result problem

2011-03-28 Thread Gora Mohanty
On Tue, Mar 29, 2011 at 9:46 AM, anurag.walia walia.anu...@hotmail.com wrote:
[...]
 I have a problem with number of character in Term Text  . I entered
 Polymer but after snowballporterfilterfactory it become Polym while it
 was not exist in protwords.txt file . I want if any word does not exist in
 protwords.txt Term Text should be whole world like Polymer
[...]

Are you misunderstanding the function of protwords.txt? The
SnowballPorterFilterFactory will act upon all words, except
those included in protwords.txt. Thus, if you do not want polymer
to be filtered, put it in protwords.txt.

Regards,
Gora


Re: solr result problem

2011-03-28 Thread anurag.walia
Hi  Gora,

Thanks for relied.

i applied this snowballporterfilterfactory for remove difference of result
in case of plural or singular.
if i entered polymer then it working fine but again polymers giving me
polym.
while bag or bags giving me bag after snowballporterfilterfactory .

Please find the screen shot.

Regards
Anurag Walia http://lucene.472066.n3.nabble.com/file/n2746902/solr2.jpg
solr2.jpg 

--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-result-problem-tp2746849p2746902.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr result problem

2011-03-28 Thread Gora Mohanty
On Tue, Mar 29, 2011 at 10:12 AM, anurag.walia walia.anu...@hotmail.com wrote:
 Hi  Gora,

 Thanks for relied.

 i applied this snowballporterfilterfactory for remove difference of result
 in case of plural or singular.
 if i entered polymer then it working fine but again polymers giving me
 polym.
 while bag or bags giving me bag after snowballporterfilterfactory .
[...]

Um, put polymers in protwords.txt then?

Regards,
Gora


Re: solr result problem

2011-03-28 Thread anurag.walia
it will be polymers but result will come different in case of polymer and
polymers (singular/plural).
or there can be more words like polymer.

Regards
Anurag Walia

--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-result-problem-tp2746849p2746947.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: solr result problem

2011-03-28 Thread Gora Mohanty
On Tue, Mar 29, 2011 at 10:41 AM, anurag.walia walia.anu...@hotmail.com wrote:
 it will be polymers but result will come different in case of polymer and
 polymers (singular/plural).
 or there can be more words like polymer.
[...]

Your only alternative then is to implement a filter that works the
way you want it to.

Regards,
Gora


Re: solr result problem

2011-03-28 Thread anurag.walia
is there any other filter which can solved my singular plural problem?

Anurag

--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-result-problem-tp2746849p2746956.html
Sent from the Solr - User mailing list archive at Nabble.com.