RE: [SOLVED] issue sorting results by string field

2008-01-15 Thread Dominique Béjean
cene.apache.org Objet : Re: issue sorting results by string field Dominique, I don't have the javadoc/source in front of me, but souldn't that be new Sort(new SortField(.)) ? I'm not sure if the underlying sort implementation is smart enough to avoid re-doing the same work when y

Re: issue sorting results by string field

2008-01-15 Thread Otis Gospodnetic
, 2008 10:05:52 AM Subject: issue sorting results by string field Hi, I need to sort my search results by descending publication date. To do this, I added a field like this in all documents doc.add(new Field("pubdate", date, Field.Store.YES, Field.Index.UN_TOKENIZED)); Whe

issue sorting results by string field

2008-01-15 Thread Dominique Béjean
Hi, I need to sort my search results by descending publication date. To do this, I added a field like this in all documents doc.add(new Field("pubdate", date, Field.Store.YES, Field.Index.UN_TOKENIZED)); Where date contains string formatted in this way “mmddhhmmss “ Searche