Hi,
I have a problem when using BooleanQuery with NOT-Operators.
When I want to search my documents for elements where a special field is NOT a
special value AND another field is a special value, I do the following in my
code:
Query query1 = ...; // -field1:value1
Query query2=...; // field2:
thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: Kolhoff, Jacqueline - ENCOWAY [mailto:kolh...@encoway.de]
> Sent: Monday, May 09, 2011 11:10 AM
> To: java-user@lucene.apache.org
> Subject: Problems with RangeQueries
>
> Hi,
>
> I have indexed some numer
Hi,
I have indexed some numeric properties (double) by adding numeric fields like
this in a custom FieldBridge:
NumericField field = new NumericField(propertyName, Store.YES, true);
field.setDoubleValue(propertyValue);
document.add(field);
This works fine and with my RangeQueries I g
java-user@lucene.apache.org
Betreff: Re: Lucene and Chinese language
2010/7/1 Kolhoff, Jacqueline - ENCOWAY
> As you can see, the query parser automatically added double quotes and
> blanks. But this does not work for our English or German queries.
>
> If I use the PositionHackAnalyzerWrapper
enStream(String fieldName, Reader reader) {
TokenStream ts = wrapped.tokenStream(fieldName, reader);
return new PositionFilter(ts);
}
}
2010/7/1 Kolhoff, Jacqueline - ENCOWAY
> How can I add this PositionFilter? I can't see anything in the API. I use
> lucene version 3.0.1, t
y(false);
}
2010/7/1 Kolhoff, Jacqueline - ENCOWAY
>
> Hi!
>
> We are using lucene in our project to search through information objects
> which works fine. For indexing we use the StandardAnalyzer.
> Now, we have to support the Chinese language. I found out that the Chinese
>
Hi!
We are using lucene in our project to search through information objects which
works fine. For indexing we use the StandardAnalyzer.
Now, we have to support the Chinese language. I found out that the Chinese
words and letters are correctly saved in the index but the query to search for
the