Thank you, Schindler.
When combining queries, I need two strings, one for each field. I want to
use just one string like -- head:"hello~ world"~3 AND contents:"colorless~
green~ ideas~".
When I this string query within ComplexPhraseQuery, I get the exception:
-- ParseException: Cannot parse 'hell
Hi,
You can combine two different ComplexPhraseQueries for both fields using an
BooleanQuery with Occur.MUST.
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: falha...@gmail.com [mailto:falha...@gmail.co
Is it possible to search for fuzzy phrase queries like -- "colorless~ green~
ideas~" -- ?
I have had some success with ComplexPhraseQuery, but I can't use it for
querying two fields at same time, ie, -- head:"hello~ world"~3 AND
contents:"colorless~ green~ ideas~" --
Thank you.
> thanks for the suggestion. but I was also asking of what source code
should I
> filled in this line
>
> if (condition for flushing memory to disk has been met) { ///THIS LINE
> ramWriter.close(); fsWriter.addIndexes(Directory[] {ramDir}); ramWriter =
new
> IndexWriter(ramDir, new SimpleAnalyzer(
On 9/26/10, Uwe Schindler wrote:
> You should close the ramwriter before doing the addindexes call. Else you
> simply copy only *committed* changes, but there are none, as the index is
> initially empty and stays empty for an outside reader (your addindexes call
> is the outside reader) until the
Shai, I was referring to your #2, which you already indicated in your
reply wasn't part of the discussion.
Itamar.
On 26/9/2010 10:10 AM, Shai Erera wrote:
The mapping is simply about returning the right Analyzer for the given
Locale. You decide up front (as the Factory developer) what Analyze
The mapping is simply about returning the right Analyzer for the given
Locale. You decide up front (as the Factory developer) what Analyzer /
Tokenizer + TokenFilters combination you want to return for each language,
and then when that language is input, you return it. That's it.
Can you define mi