Hi all!
I implemented a searcher with Lucene and i´m trying to search two words, the
both into the same text file, but...i can´t!
When I search the first word and the second separated, everithing happens ok,
but when together, with or wtithout "AND" or "+"...nothing is found! :(
Can somebody h
mation .
In particular, what analyzers you use at index and search time.
What the string was originally and how you indexed it.
What query.toString() shows you.
Best
Erick
On 5/24/07, Rodrigo F Valverde <[EMAIL PROTECTED]> wrote:
>
> Hi all!
>
> I implemented a searcher with Luc
ference between them! :)
Thanks! :D
- Mensagem original
De: Rodrigo F Valverde <[EMAIL PROTECTED]>
Para: java-user@lucene.apache.org
Enviadas: Quinta-feira, 24 de Maio de 2007 15:00:49
Assunto: Res: How to search more than one word?
I will try to resume the code:
INDEX TIME
- IndexWrite
you
constructed your TermQuery, your term had some characters
that the StandardAnalyzer stripped form your original input
stream.
But that's just a guess. Luke will tell you for sure.
Best
Erick
On 5/24/07, Rodrigo F Valverde <[EMAIL PROTECTED]> wrote:
>
> Hi again!
>
> That
Hey guy...I use the 2.1 version and I get the same problem...but if the "Luke"
(http://www.getopt.org/luke/) is open!!!
If you were using luke or any other at the opening index moment, close that and
try again!
- Mensagem original
De: Michael McCandless <[EMAIL PROTECTED]>
Para: ja