PM
To: java-user@lucene.apache.org
Subject: Re: Sorting in lucene through Document boosting
15 sep 2008 kl. 14.08 skrev Dragan Jotanovic:
> I made simple Similarity implementation:
> public float tf(float arg0) {
> return 1f;
> }
Why do you touch the term f
15 sep 2008 kl. 14.08 skrev Dragan Jotanovic:
I made simple Similarity implementation:
public float tf(float arg0) {
return 1f;
}
Why do you touch the term frequency? Is that prehaps unrelated to
what's discussed in this thread?
karl
: Btw, this is the statement the sort field is added to the document.
:
: doc.add(Field.UnIndexed("_s" + sortField, sortableData ));
Um ... only index fields are sortable ... are you sure you are sorting on
the field you think you are?
It's possible that since you are trying to sort on an
Tuesday, March 14, 2006 11:04 AM
To: java-user@lucene.apache.org
Subject: Re: Sorting in Lucene
On 3/13/06, Bob Cheung <[EMAIL PROTECTED]> wrote:
> I am curious why the character "/" sorts before the space.
>
> For example,
>
> Apple/banana is good for you.
>
&
On 3/13/06, Bob Cheung <[EMAIL PROTECTED]> wrote:
> I am curious why the character "/" sorts before the space.
>
> For example,
>
> Apple/banana is good for you.
>
> Sorts before
>
> Apple banana is good for you
Are you sure that the field is untokenized, and that you are sorting
in the correct di