There are useful tips in the FAQ,
http://wiki.apache.org/lucene-java/LuceneFAQ#Why_am_I_getting_no_hits_.2BAC8_incorrect_hits.3F.
I still think you should come up with small self-contained example code.
--
Ian.
On Wed, Apr 25, 2012 at 4:02 PM, Elmer van Chastelet
wrote:
> Thanks for your sugg
Thanks for your suggestion Ian, but I just found out that if I replace
the KeywordTokenizer with a WhitespaceTokenizer, all seems to work fine.
Just to test what happens, I created another field 'orig', using this
analyzer:
analyzer KeywordLowered{
tokenizer = KeywordTokenizer
tokenfil
You seem to be quietly going round in circles, by yourself! I suggest
a small self-contained program/test case with a RAM index created from
scratch. You can then experiment with inject on or off and if you
still can't figure it out, post the code and hopefully someone will be
able to help you ma
I keep replying to myself, it all gets a bit confusing.
The problem still exists and I don't understand why, and why it worked once.
I have the same behavior again as posted in my first mail:
- Inject parameter is set to true.
- The index has _no deleted documents_ and is optimized.
- The term 'c
Problem solved. Long story short: for some reason I had deleted
documents in the index and the non-deleted documents used the phonetic
filter with inject set to false.
Works fine now :)
On 04/23/2012 09:27 PM, Elmer van Chastelet wrote:
Hi all,
(scroll to bottom for question)
I was setting
Little correction:
Looking further at the explanation of results, I saw that the term
'compete' in the parsed query is totally absent, and only the phonetic
encoding seems affect the ranking...
should be:
Looking further at the explanation of results, I saw that _the term
'compete' is totall
Hi all,
(scroll to bottom for question)
I was setting up a simple web app to play around with phonetic filters.
The idea is simple, I just create a document for each word in the
English dictionary, each document containing a single search field
holding the value after it is preprocessed using