lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Shalyminov <>
Subject SpanQuery.getSpans() with document sorting
Date Sat, 23 Feb 2013 18:46:28 GMT
Hi all!

I'm using SpanQuery.getSpans() method for retrieving the precise information about all the
matches through all the documents in the index.
My question, is it possible to to get the spans in the sorted order by their document's field
(say, creation date)?

Otherwise, if handcrafting is inevitable, what's the easiest way to build an in-application
static direct index of all documents by their field (i.e. create a mapping 'doc_id' ->
'created' index position)? It won't change literally ever:)

Best Regards,
Igor Shalyminov

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

View raw message