lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Azhar Jassal <az.jas...@gmail.com>
Subject Sort results by number of document fields
Date Mon, 31 Jan 2011 15:51:45 GMT
Hi,

How can I use Lucene to sort search results by the number of fields each
document has? (highest to lowest - documents with more fields in my index
are better results)

Also my fields are named as URI's i.e. "<
http://www.w3.org/2000/01/rdf-schema#label>", how should I form queries with
field names containing such syntax? How shall I pass them in, escaped?

Thanks

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