IndexReader.document(int i)

2004-01-17 Thread Nicolas Maisonneuve
hy, i would like to know in the IndexReader.document(int i) what is this number i ? if the the first document is the oldest document indexed and the last the youngest ? (so we can sort by date easyly) ? thank in advance nico

Relevance Feedback (2)

2004-01-17 Thread Karl Koch
Hello group, I would like to implement Relevance Feedback functionality for my system. From the privious discussion in this group I know that this is not implemented in Lucene. We all know that Relevance Feedback has two fields, which are 1) Term Reweighting 2) Query Expansion I am

Re: Relevance Feedback (2)

2004-01-17 Thread Karl Koch
Hello all, oh, I just found a mail from Doug where he wrote that Dmitry Serebrennikov developed something who provides Document vector access: Dmitry Serebrennikov [dmitrys?X0040;earthlink.net] has implemented a substantial extension to Lucene which should help folks doing this sort of

Re: IndexReader.document(int i)

2004-01-17 Thread Karl Koch
Hello back, according to the JavaDoc it means: Returns the stored fields of the nth Document in this index. In your case than if would mean the greater n the younger the doc. However I am not sure how you can create such an index. I think you should have a look to the Luke project, which allows

Re: Ordening documents

2004-01-17 Thread Morus Walter
Peter Keegan writes: What is the returned order for documents with identical scores? have a look at the source of the lessThan method in org.java.lucene.search.HitQueue: protected final boolean lessThan(Object a, Object b) { ScoreDoc hitA = (ScoreDoc)a; ScoreDoc hitB = (ScoreDoc)b;

ANN: Luke 0.45 released

2004-01-17 Thread Andrzej Bialecki
Hello, Release early, release often.. - well, perhaps too early in the case of 0.4 :-) There have been some small but annoying bugs in that release, which merited a quick fix. As a bonus you will get some new features as well... Standard text follows: Luke is a Lucene index browser and

Re: Ordening documents

2004-01-17 Thread Peter Keegan
So they are sorted by reverse document number. Is this the 'external' document number (the one that is adjusted for the segment's base)? If so, then this means that documents with equal score are returned in the order in which they were added to the index. Is this correct? Thanks, Peter -

Searching for similar documents in Lucene

2004-01-17 Thread Karl Koch
Hello all, how can I find the most similar document from one given document? Do I need to perform one search for each field in the Docuemnt and merge the resulting Hit lists? Maybe somebody has already done that and can give me hints / maybe an example? Cheers and good night, Karl -- +++ GMX