lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michel Nadeau <aka...@gmail.com>
Subject Re: Returns nothing when sorting
Date Fri, 11 Dec 2009 08:10:35 GMT
By the way the same search + filter combination but with a sort on another
field (string) works. It seems only the float sort isn't working. The float
sort is working correctly in other conditions though.

I'm very puzzled !

- Mike
akaris@gmail.com


On Fri, Dec 11, 2009 at 2:52 AM, Michel Nadeau <akaris@gmail.com> wrote:

> Hi !
>
> I have a quite small Lucene 3.0.0 index with around 400,000 documents in
> it.
>
> I'm trying to sort my results like this :
>
> TopDocs td;
> td = searcher.search(q, cluCF, 10, cluSort);
> ScoreDoc[] hits = td.scoreDocs;
>
> My cluCF is a ChainedFilter containing at least one filter, and cluSort is
> a float type.
>
> I'm not sure where to start - my Lucene application is a Java Web Server
> (multithread), and when querying it with sorting, it just returns nothing;
> no error, no crash, but no results. If I do the same query/filter without
> sorting, I get results.
>
> Anything I could try?
>
> Thanks,
>
> - Mike
> akaris@gmail.com
>

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