lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Giles <>
Subject RE: Returning one result
Date Fri, 05 Dec 2003 20:31:15 GMT

I believe what Dror was referring to was the call to 
MultiFieldQueryParser.parse(). The second argument to that call is a 
String[] of field names on which to execute the query.  If the field that 
contains "AR345" isn't listed in that array, you will not get any results.


At 03:14 PM 12/5/2003, you wrote:
>What do you mean 'add' in MultiFieldQueryParser?  I am using all the
>When I index it does
>  add (Field.Keyword(..,..))
>But I don't want the user to have to type ID:<ID NUMBER> It would be
>nice to just type ID Number. On your site if you just put: 11183 in the
>search box there are no results.
>well, right now I'll just do it as text and query that field for the id
># to display the document.  It can't hurt, right? :)  Unless the Keyword
>is a better way

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message