it is supposed lucene make a lexicocraphic sorting but this is not hapening, Could you tell me what I'm doing wrong ? I hope you can help me. Regards
On Wed, Nov 19, 2008 at 11:56 AM, Ariel <[EMAIL PROTECTED]> wrote: > Thanks, that was very helpful, but I have a question when I make the > searches it does not sort the results according to the range, for example: > year: [2003 TO 2008] in the first page 2003 documents are showed, in the > second 2005 documents, in the third page 2004 documents, I don't see any > sort criteria. > How could I fix that problem ??? > Greetings > Ariel > > > On Wed, Nov 19, 2008 at 11:09 AM, Ian Lea <[EMAIL PROTECTED]> wrote: > >> Hi - sounds like you need a range query. >> >> >> http://lucene.apache.org/java/2_3_2/queryparsersyntax.html#Range%20Searches >> >> >> -- >> Ian. >> >> >> On Wed, Nov 19, 2008 at 4:02 PM, Ariel <[EMAIL PROTECTED]> wrote: >> > Hi everybody: >> > >> > I need to make search with lucene 2.3.2, taking in account the dates, >> > previously when I build the index I create a date field where I stored >> the >> > year in which the document was created, at the search moment I would >> like to >> > retrieve documents that have been created before a Year or after a Year, >> for >> > example documents before 2002 year o after 2003 year. >> > It is possible to do that with lucene ??? >> > Regards >> > Ariel >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >