Re: Search requires too long search term

2011-02-13 Thread findbestopensource
You may need to use ngrams. http://lucene.apache.org/java/3_0_3/api/all/org/apache/lucene/analysis/ngram/EdgeNGramTokenFilter.html Another option would be doing wildcard query without enabling leading wildcard search. search for cr* and not *cr* as the auto suggest feature should give suggestion f

Search requires too long search term

2011-02-13 Thread Schmidt, Dennis
Hi there, I am using Lucene for an actually quite simple search. I am not indexing long texts, but instead each document only has a couple of fields with texts from one word to a very short sentence (no more than 6 words usually). Now I need to find documents even with only two characters typed