lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "naveen.a" <naveen.ve...@gmail.com>
Subject how to search for starts with multiple words in lucene
Date Wed, 26 Nov 2008 09:48:14 GMT

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-tp20697741p20697741.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message