Re: Problems understanding QueryParser + WildcardQueries

2008-06-16 Thread Erick Erickson
Here's your answer I think http://wiki.apache.org/lucene-java/LuceneFAQ#head-133cf44dd3dff3680c96c1316a663e881eeac35a In a nutshell, wildcard queries are not passed through an analyzer, although they are lower-cased by default. So you're indexing foobar but searching on _foobar (after rewrit

Problems understanding QueryParser + WildcardQueries

2008-06-16 Thread Felix Schwarz
Hi, I have a small problem regarding QueryParser and WildcardQueries. Basically, I'm indexing documents like this: doc.add(new Field("title", "_FooBar", Field.Store.YES, Field.Index.TOKENIZED)); Afterwards I expected that this query would return the document above: QueryParser parser = new Quer