Re: ShingleFilterFactory

2013-05-22 Thread Erick Erickson
Seems to me like shingles will work for you. To your questionsl 1> not really, phrases are just how you get the single token through the parser. Escaping the spaces would work, as term1\ term2 2> This is just a standard negation, i.e. q=-field:term1\ term2 3> This works if you specify minShingleSiz

Re: ShingleFilterFactory not indexing the whole doc, where is the limit ?

2012-01-31 Thread Pierre JdlF
Works now ! thanks a lot ... i guess until a document with more than 2.147.483.647 chars 'happy night + Pierre On Tue, Jan 31, 2012 at 5:23 PM, Ahmet Arslan wrote: >> I'm trying to index word-ngrams using >> the solr.ShingleFilterFactory, >> (storing their positions + offset) >> ... >>     > clas

Re: ShingleFilterFactory not indexing the whole doc, where is the limit ?

2012-01-31 Thread Ahmet Arslan
> I'm trying to index word-ngrams using > the solr.ShingleFilterFactory, > (storing their positions + offset) > ... >     class="solr.TextField" > positionIncrementGap="1"> >       >           class="solr.HTMLStripCharFilterFactory"/> >     class="solr.WhitespaceTokenizerFactory" /> >        

RE: ShingleFilterFactory class error

2011-07-28 Thread Steven A Rowe
Pradeep, As indicated on the wiki , the minShingleSize option is not available in Solr versions prior to 3.1. What version of Solr are you using? (By the way, I am only replying on solr-user@lucene.apache.or