lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shrinath.m" <shrinat...@webyog.com>
Subject switching between Query parsers
Date Thu, 14 Apr 2011 11:44:54 GMT
Consider this case : 

Lucene index contains documents with these fields : 
title
author
publisher

I have coded my app to use MultiFieldQueryParser so that it queries all
fields. 
Now if user types something like "author:tom" in search box, how do I make
it go with only that field ? 


--
View this message in context: http://lucene.472066.n3.nabble.com/switching-between-Query-parsers-tp2819970p2819970.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