Hibernate/Lucene/HibernateSearch: find all words that start with specific prefix.

Posted by Giuseppe on Stack Overflow See other posts from Stack Overflow or by Giuseppe
Published on 2010-05-23T18:53:44Z Indexed on 2010/05/23 19:01 UTC
Read the original article Hit count: 293

Filed under:
|
|

I want to get a list of all words in a database table that start with a specific prefix. I've been looking for a way to query the terms in a Lucene index (I need the terms, I don't care about the documents they are from) but without success. Any ideas?

© Stack Overflow or respective owner

Related posts about hibernate

Related posts about search