Boost a field in fuzzy query

2011-03-13 Thread chhava40
Hi, I am using MultiFieldQueryParser to parse query for multiple fields with custom boosts for each field. The issue is when one of the terms in the query is fuzzy e.g abc~. For such a term, the field boost is not applied. If the query is "abc~ xyz" and fields are f1 & f2 with boosts 10, 5, the par

Re: Analyzer enquiry

2011-03-13 Thread Erick Erickson
StandardAnalyzer works well for most European languages. The problem will be stemming. Applying stemming via English rules to non-English languages produces...er...interesting results. You can go ahead and create language-specific fields for each language and use StandardAnalyzer with the appropri

Re: Search one index but use IDF from another?

2011-03-13 Thread Felipe Hummel
In stackoverflow somebody answer me this: You should be able to extend IndexReader and override the docFreq() methods to provide whatever values you'd like. One thing this implementation can do is open two IndexReader instances -- one for the small index and one for the large index. All the method

Analyzer enquiry

2011-03-13 Thread Vasiliki Gkouta
Hello everybody, I have an enquiry about StandardAnalyzer. Can I use it for other languages except from English? I give the right list of stop words at initialization. Is there anything else inside the class that is by default set in English? I've found the Analyzers for other languages too

RE: Lucene 4.0 and WhitespaceAnalyzer

2011-03-13 Thread Uwe Schindler
I don't see your problem - If you need any of the packages as JAR files, here they are as MAVEN artifacts: https://builds.apache.org/hudson/job/Lucene-Solr-Maven-trunk/lastSuccessfulB uild/artifact/maven_artifacts/org/apache/lucene/ Uwe - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen ht

Re: Lucene 4.0 and WhitespaceAnalyzer

2011-03-13 Thread Simon Willnauer
On Sun, Mar 13, 2011 at 12:19 PM, Patrick Diviacco wrote: > Sorry, I had some issues with the mailing list and I didn't explain > properly. The reason is that I'm using the nightly built of Lucene (trunk) > and such WhitespaceAnalyzer is not there. Also, if I download the commons > analyzers libra

Re: Lucene 4.0 and WhitespaceAnalyzer

2011-03-13 Thread Patrick Diviacco
Sorry, I had some issues with the mailing list and I didn't explain properly. The reason is that I'm using the nightly built of Lucene (trunk) and such WhitespaceAnalyzer is not there. Also, if I download the commons analyzers library it is not there. thanks On 9 March 2011 03:07, Simon Willnauer