lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven A Rowe" <sar...@syr.edu>
Subject RE: Retrieving a document from a "keyword" field
Date Fri, 15 Feb 2008 13:32:49 GMT
Hi JA,

The "general@l.a.o" list has fewer subscribers than "java-user@l.a.o", so in the future, I
would recommend going there for questions like these.

On 02/15/2008 at 5:57 AM, Jean-Albert wrote:
> I try to search the following query : internal_id:399
> (399 is the id in the database) , with the hope to get from
> Lucene the document having 399 in the internal_id field.
> 
> But I get no results. Impossible to retrieve this document...
> 
> Do I misunderstood how to search a specific field ?

Can you show the code you're using to search?  My guess is that the analyzer being used is
stripping numeric terms, resulting in an empty query.

Steve

Mime
View raw message