Re: prefix query search problem if a hyphen exist in the search word

2007-11-30 Thread reeja
Yes, i am using standard analyzer both at indexing and query time. Erick Erickson wrote: > > What analyzers are you using both at index time and > query time? StandardAnalyzer will, for instance, split > the words at the hyphen. > > I would recommend that you get a copy of Luke (google > lucen

Re: prefix query search problem if a hyphen exist in the search word

2007-11-28 Thread Chris Hostetter
: Search query is like this ttl:co-operative it returns more than 50 results, : but if i convert the query like this ttl:co-operat* it returns no result. : again i entered a query ttl:11-amino it returns some results, then changed : the above query into ttl:11-amino* it will return some more res

Re: prefix query search problem if a hyphen exist in the search word

2007-11-27 Thread Erick Erickson
What analyzers are you using both at index time and query time? StandardAnalyzer will, for instance, split the words at the hyphen. I would recommend that you get a copy of Luke (google lucene luke) and examine both the contents of your index, and the query produced by using various analyzers. Als