RE: Sorting in lucene through Document boosting

2008-09-15 Thread Dragan Jotanovic
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

Re: Sorting in lucene through Document boosting

2008-09-15 Thread Karl Wettin
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

RE: Sorting in Lucene

2006-03-13 Thread Chris Hostetter
: 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

RE: Sorting in Lucene

2006-03-13 Thread Bob Cheung
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. > &

Re: Sorting in Lucene

2006-03-13 Thread Yonik Seeley
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