Hi, I think you can achieve your goal using StandardAnalyzer during indexing and for search, and use WildcardQuery for Query I think it will work!!
naveen.a wrote: > > Hi, > > Below is a document in lucene > --------------------------------------------- > Field Value > --------------------------------------------- > ID:1 > 110_a:library and information > --------------------------------------------- > I need to search for starts with logic, below are the search cases for the > above document > > ------------------------------------------------------------------------------ > Query Result > ------------------------------------------------------------------------------ > 110_a:l* ID - 1 > 110_a:library* ID - 1 > 110_a:library * No Results > 110_a:library a* No Results > 110_a:"library a*" No Results > ------------------------------------------------------------------------------ > here, if i apply single word for starts with search, it is found, > but if i add any space after the first word, it is not found > > so, how to apply the query to search for starts with multiple words > -- View this message in context: http://www.nabble.com/how-to-search-for-starts-with-multiple-words-in-lucene-tp20697741p20707534.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]