See below
On Sat, Nov 28, 2009 at 4:39 PM, Karl Heinz Marbaise wrote:
> Hi Ian,
>
> many thanks for the hints...based on your and Ericks hints i have taken a
> deeper look into that...and the StandardAnalyzer which I'm using will
> removed informations like "." and "-" from my queries
> (+filenam
Hi Ian,
many thanks for the hints...based on your and Ericks hints i have taken
a deeper look into that...and the StandardAnalyzer which I'm using will
removed informations like "." and "-" from my queries
(+filename:testEXCEL-formats.xls) ...
In addition to Erick's advice, since you are st
In addition to Erick's advice, since you are storing filename without
analysis you could use a TermQuery to find it. You can use
BooleanQuery to combine that with other queries, including those
generated by QueryParser.
--
Ian.
On Wed, Nov 25, 2009 at 6:11 PM, Erick Erickson wrote:
> The first
The first question for this is always "what analyzers do you use at index
AND
query time?".
I'd do two things immediately. First, what does query.toString() show you
the query parses
to? StandardAnalyzer does some "interesting" things with periods. Also, you
have a hyphen
(-) in your query which i
Hi,
i'm just using Lucene 2.4 and have a problem with a "." within a field.
This field contains a filename and obviously a filename can contain a
"." (or multiple of them)...
So if i do a search "+filename:testExcel-xaz.xls" this file will not be
found...If i replace the "." with "?" it works