lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <erickerick...@gmail.com>
Subject Re: Sorting issues
Date Fri, 27 Jun 2008 17:19:37 GMT
That's surprising. Could you post a brief example of your
index and search code?

It sounds like you're saying
docs 1, 2, 3 all have category aaa
docs 4, 5, 6 all have category bbb
docs 7, 8, 9 all have category ccc

But if you search for category:bbb
you don't get docs 4, 5, and 6

Is this a fair statement of the issue?

Best
Erick


On Fri, Jun 27, 2008 at 11:44 AM, <Robert.Hastings@ancept.com> wrote:

> I just implemented a sorting feature on our application where the user can
> change the sort on a query and reexecute the search.  It works fine on
> text fields where most of the documents have different field values.
> However, on fields that are categories, that is, there are only four
> distinct values for the category field and
> all of the documents fit into a distinct category, the results are not in
> the sorted values.
>
> All of the sort fields are untokenized and stored. and each document has
> only one value for the sorted field.
>
> Are there any known issues (Lucene 2.3.0)?  How can I go about debugging
> this? I have tried Luke, also I have the Lucene source.
>
> Bob Hastings
> Ancept Inc.

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