: I think coord works at the document level, I was thinking of having
: something that worked at a field level, against a 'principle/primary'
: field.
I'm not sure what you mean by "works at hte document level" ... coord is
used y the BooleanQuery scoring mechanism to define how scores should be
I'm not really getting your point. If you say that tf,idf get over on
coord, I think it's possible to eliminate them by custom similarity.
On Wed, Jan 30, 2013 at 2:06 PM, Daniel Rosher wrote:
> Hi Mikhail,
>
> Thanks for the reply.
>
> I think coord works at the document level, I was thinking
Hi Mikhail,
Thanks for the reply.
I think coord works at the document level, I was thinking of having
something that worked at a field level, against a 'principle/primary'
field.
I'm using edismax with tie=1 (a.k.a. Disjunction Sum) and several fields,
but docs with greater query overlap on the
Daniel,
You can start from here
http://lucene.apache.org/core/4_0_0-BETA/core/org/apache/lucene/search/similarities/Similarity.html#coord%28int,%20int%29but
it requires deep understanding of Lucene internals
On Tue, Jan 29, 2013 at 2:12 PM, Daniel Rosher wrote:
> Hi,
>
> I'm wondering if ther
Hi,
I'm wondering if there exists or if someone has implemented something like
the following as a function query:
overlap(query,field) = number of matching terms in field/number of terms in
field
e.g. with three docs having these tokens(e.g.A B C) in a field
D
1:A B B
2:A B
3:A
The overlap woul