lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Vink" <ianv...@gmail.com>
Subject ID field - hundreds?
Date Mon, 01 Dec 2008 13:52:28 GMT
Each document has a field "DocID" with a unique int in the index.
I want to search the documents with DocID of 1 or 2 or 5 or 8 etc (hundreds
long list)

When I specify a query like: [  contents:Hello DocID:1 DocID:2   ]
 etc it is slow.

Is there a more efficient way to limit my search to books in the set
 [1,2,3,5,8] ?

Ian

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message