On Thu, Apr 14, 2011 at 9:44 PM, shrinath.m <[email protected]> wrote: > 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 ?
That should already be happening. MultiFieldQueryParser only applies the multiple fields when no field is specified. TX --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
