Re: How to order search results by Field value?

2004-03-24 Thread Joachim Schreiber
Chad, Was there any conclusion to message: http://issues.apache.org/eyebrowse/[EMAIL PROTECTED]msgNo=6762 Regarding Ordering by a Field? I have a similar need and didn't see the resolusion in that thread. Is it a current patch to the 1.3-final, I could see one? You can see the resolution

Similarity - position in Field[] effects scoring - how to change?

2004-03-23 Thread Joachim Schreiber
Hallo, I run in following problem. Perhaps somebody can help me. I have a index with different ids in the same field something like s s45678565 s87854546 Situation: I have different documents with the entry s in the same index. document 1) s324235678565 s324dssd5678565

RE: Similarity - position in Field[] effects scoring - how to change?

2004-03-23 Thread Joachim Schreiber
Thanks to Daniel the solutions is quite simple. Use the latest cvs src from the head and try the new sorting feature, it works very well ;-) This should be documented anywhere, perhaps in the wiki ! cool new feature! yo -

Re: Similarity - position in Field[] effects scoring - how to change?

2004-03-23 Thread Joachim Schreiber
Why don't you use the method explain of IndexSearcher? http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/IndexSear cher.html This is the best way to find why your documents are different. I suspect the lengthNorm method, which is used at indexation time. Yes but i think

Re: Similarity - position in Field[] effects scoring - how to change?

2004-03-23 Thread Joachim Schreiber
and it works well ! But it's interesting, nobody knows exactly how scoring works (seems to me) ;-) thanks yo Regards, Terry - Original Message - From: Joachim Schreiber [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 10:05 AM Subject: Similarity - position

Re: Similarity - position in Field[] effects scoring - how to change?

2004-03-23 Thread Joachim Schreiber
On Tuesday 23 March 2004 16:05, Joachim Schreiber wrote: Hallo, I run in following problem. Perhaps somebody can help me. I have a index with different ids in the same field something like s s45678565 s87854546 Situation: I have different documents with the entry