lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alx...@aim.com
Subject Re: EdgeGram filter
Date Wed, 24 Apr 2013 00:08:14 GMT
Hi,

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

Thanks.
Alex.
 

 

 

-----Original Message-----
From: Markus Jelsma <markus.jelsma@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:alxsss@aim.com <alxsss@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 <jack@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. 
> 
> 
>  
> 

 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message