d my problem.
> Luke allowed me to understand the queries and the content of the index.
>
> Thanks (Erick & Balasubramanian Sudaakeran)
> Tom
>
> --- En date de : Dim 31.5.09, Erick Erickson a
> écrit :
>
> De: Erick Erickson
> Objet: Re: Index and search terms con
Hi,
A KeywordAnalyzer solved my problem.
Luke allowed me to understand the queries and the content of the index.
Thanks (Erick & Balasubramanian Sudaakeran)
Tom
--- En date de : Dim 31.5.09, Erick Erickson a écrit :
De: Erick Erickson
Objet: Re: Index and search terms containing chara
Simple analyzer does two things: splits tokens on non-letter characters and
lowercases them.
So, in your test you've indexed the tokens "jack" and "bauer" in your second
document, the hyphen is completely lost during tokenization and you have
two tokens for that document.
Using the term query "ja
: Index and search terms containing character "-"
Hi,
I have a problem using TermQuery and FuzzyQuery for terms containing the
character "-". Considering I've indexed "jack" and "jack-bauer" as 2 tokenized
captions, I get no result when searching for &qu
Hi,
I have a problem using TermQuery and FuzzyQuery for terms containing the
character "-". Considering I've indexed "jack" and "jack-bauer" as 2 tokenized
captions, I get no result when searching for "jack-bauer". Moreover, "jack"
with a TermQuery returns the two captions.
What should I do t