Re: RE: PrefixQuery and special characters

2010-04-15 Thread Franz Roth
: Wed, 14 Apr 2010 08:24:38 -0400 > Von: Steven A Rowe > An: "java-user@lucene.apache.org" > Betreff: RE: PrefixQuery and special characters > Hi Franz, > > The likely problem is that you're using an index-time analyzer that strips > out the paren

RE: PrefixQuery and special characters

2010-04-14 Thread Steven A Rowe
n the case of synonyms, most people will want their index and query analyzers to be the same. Steve From: Franz Roth [franzr...@gmx.de] Sent: Wednesday, April 14, 2010 7:42 AM To: java-user@lucene.apache.org Subject: PrefixQuery and special characters H

PrefixQuery and special characters

2010-04-14 Thread Franz Roth
Hi all, say I have an Index with one field named "category". There are two documents one with value "(testvalue)" and one with value "test value". Now somone search with "test". My Searchenine uses the org.apache.lucene.search.PrefixQuery and finds 2 documents. Maybe he estimated only one hit;