RE: Wild-card search - *bas*

2001-12-07 Thread sampreet
Hello, I was experimenting for the wild cards when I found that the org.apache.lucene.search.PrefixQuery class uses reader.terms(prefix) to get a set of terms, in the getQuery() method. These terms are later filtered to get to the terms required by it. reader.terms() does not seem to return any

Wild-card search - *bas*

2001-12-03 Thread sampreet
Hi All, I am using lucene for search functionality in our project. I wanted to implement the wild-card query such as '*bas*' which results in hits containing 'database' and 'basic'. Can it be implemented using lucene. If yes, how ? The org.apache.lucene.search package provides WildcardQuery and