lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cristian Lorenzetto <>
Subject lucene6 - search - confirmation
Date Wed, 10 Aug 2016 12:44:13 GMT
I need a clarification for building a Query
Correct me if i m wrong.

for searching a number i use int/longPoint.
for ordering the results i use docvalue field
for retrieving the value stored i use StoredField
so if i want index,order and store a integer i need to add at least 3 fields
1 intpoint
1 numericdocfield
1 storedfield.

So for searching the that int i use IntPoint.newQuery(name,int)

i need just a confirmation it is all corrrect

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