Re: restrict fuzzy search to longer words

2012-01-20 Thread Ian Lea
No idea about solr, but in lucene if you build your own FuzzyQuery via new FuzzyQuery(...) all the constructors take a Term so you could skip short terms. But there doesn't appear to be anything built in. If you are using the query parser you could probably make your own subclass of that that use

Re: NRTManager, NRTManagerReopenThread and ExecutorServices example

2012-01-20 Thread dyzc2010
I need an ES to generate threads inside each of which a writer and a searcher write, search and modify index files. Till now, there is none example regarding the ES, NRTManager, etc. Don't know what is the use of such stuff if no one knows how to use it. -- Original --

Re: [Bulk] RE: any tips for upgrading Lucene 3.0.3 -> 3.5.0?

2012-01-20 Thread David Carlton
For what it's worth, the only changes that I've had to deal with so far are: * Certain Tokenizer/Analyzer methods have to be final. < https://issues.apache.org/jira/browse/LUCENE-2389> * A PhraseQuery behavior change if your first term is at offset > 0. (Haven't tracked down bug for that.) * Field

[Lucene Spatial] Issues with CartesianPolyFilterBuilder.getShapeLoop

2012-01-20 Thread quinton olivier
Hi, I 'm currently working in integrating lucene spatial into the search engine of my customer but I'm facing a problem : If I ask to CartesianPolyFilterBuilder.getShapeLoop the list of areas covering the following bounding box { 45.71342*-0.7 ; 45.71346*0.00096 } (a portion of road in F

restrict fuzzy search to longer words

2012-01-20 Thread Lance
HI, Could you please help me with a quick question - Is there a way to restrict lucene/solr fuzzy search to only analyze words that have more than 5 characters and to ignore words with less than that (i.e. less than 6 character words)? Thanks - Lance