lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mead Lai <laiqi...@gmail.com>
Subject May I have "order expression" in Query?
Date Thu, 13 Oct 2011 03:54:55 GMT
Hello all,

Well, I add some document into index with "date" type :
        doc.add(new Field("datestamp", "20111012",Store.YES,
Index.NOT_ANALYZED));

Then, I want to get the result order by "datestamp" field.
I am really sorry aboutI am a newer and did not read some documents very
carefully, actully, I couldn't find some more detail doc than this:
http://lucene.apache.org/java/3_3_0/queryparsersyntax.html
Thanks.

Regards,
Mead

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