lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <lucenelist2...@danielnaber.de>
Subject Re: sorting issues
Date Fri, 26 May 2006 20:36:28 GMT
On Freitag 26 Mai 2006 17:46, Mike Richmond wrote:

> I am then storing this in a stored, untokenized field named "date".

From the API docs:

The field must be indexed, but should not be tokenized, and does not need 
to be stored (unless you happen to want it back with the rest of your 
document data). In other words: 
document.add (new Field ("byNumber", Integer.toString(x), Field.Store.NO, 
Field.Index.UN_TOKENIZED));

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message