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
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
- Or
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 diagn
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;
Hi all,
I have a search method who is used by many programs with different queries.
I therefore do not want to close the IndexSearch object to allow other
programs to reuse it. Does this have any side effects (e.g. does the IndexSearcher
object contain state information)? Would it be better to ins
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 allow
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 resear
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 interestin
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