Yeah, that’s the problem with Lucene/Solr doc. Sigh. Somebody needs to cover this material in a book. Oh yeah... we are - I'll let you know when early access begins. Actually, I just finished writing the chapter with full descriptions and examples for all the filters.

-- Jack Krupansky

-----Original Message----- From: alx...@aim.com
Sent: Tuesday, April 23, 2013 8:08 PM
To: solr-user@lucene.apache.org
Subject: Re: EdgeGram filter

Hi,

I did not find any descriptions, except constructor and method names.

Thanks.
Alex.






-----Original Message-----
From: Markus Jelsma <markus.jel...@openindex.io>
To: solr-user <solr-user@lucene.apache.org>
Sent: Tue, Apr 23, 2013 12:08 pm
Subject: RE: EdgeGram filter


Always check the javadocs. There's a lot of info to be found there:
http://lucene.apache.org/core/4_0_0-BETA/analyzers-common/org/apache/lucene/analysis/miscellaneous/LimitTokenCountFilterFactory.html



-----Original message-----
From:alx...@aim.com <alx...@aim.com>
Sent: Tue 23-Apr-2013 21:06
To: solr-user@lucene.apache.org
Subject: Re: EdgeGram filter

Hi,

I was unable to find more info about
LimitTokenCountFilterFactory
in solr wiki. Is there any other place to get thorough description of what it
does?

Thanks.
Alex.







-----Original Message-----
From: Jack Krupansky <j...@basetechnology.com>
To: solr-user <solr-user@lucene.apache.org>
Sent: Tue, Apr 23, 2013 11:36 am
Subject: Re: EdgeGram filter


Well, you could copy to another field (using copyField) and then have an
analyzer with a LimitTokenCountFilterFactory that accepts only 1 token, and
then apply the EdgeNGramFilter to that one token. But you would have to
query explicitly against that other field. Since you are using dismax, you
should be able to add that second field to the qf parameter. And then remove
the EdgeNGramFilter from your main field.

-- Jack Krupansky

-----Original Message----- From: hassancrowdc
Sent: Tuesday, April 23, 2013 12:09 PM
To: solr-user@lucene.apache.org
Subject: EdgeGram filter

Hi,

I want to edgeNgram let's say this document that has 'difficult contents' so
that if i query (using disman) q=dif  it shows me this result. This is
working fine. But now if i search for q=con it gives me this document as
well. is there any way to only show this document when i search for 'dif' or
'di'. basically i want to edgegram 'difficultcontent' not 'difficult' and
'content'. Any help?


Thanks.



--
View this message in context:
http://lucene.472066.n3.nabble.com/EdgeGram-filter-tp4058337.html
Sent from the Solr - User mailing list archive at Nabble.com.






Reply via email to