Re: SPLADE implementation

2023-11-15 Thread Michael Wechner
I got it running now :-) thanks again, whereas see the code below, which might help others as well. I don't quite understand the correlation between weights, scores, etc. yet, but will try to figure out from the documentation at

Re: SPLADE implementation

2023-11-15 Thread Michael Wechner
thank you very much, will try this :-) Am 15.11.23 um 11:25 schrieb Adrien Grand: Say your model produces a set of weighted terms:  - At index time, for each (term, weight) pair, you add a "new FeatureField(fieldName, term, weight)` field to your document.  - At search time, for each (term,

Re: SPLADE implementation

2023-11-15 Thread Adrien Grand
Say your model produces a set of weighted terms: - At index time, for each (term, weight) pair, you add a "new FeatureField(fieldName, term, weight)` field to your document. - At search time, for each (term, weight) pair, you add a "new BooleanClause(FeatureField.newLinearQuery(fieldName, term,

Re: SPLADE implementation

2023-11-15 Thread Michael Wechner
Hi Adrien Ah ok, I did not realize this, thanks for pointing this out! I don't quite understand though, how you would implement the "SPLADE" approach using FeatureField from the documentation at https://lucene.apache.org/core/9_8_0/core/org/apache/lucene/document/FeatureField.html For

Re: SPLADE implementation

2023-11-15 Thread Adrien Grand
Hi Michael, What functionality are you missing? Lucene already supports indexing/querying weighted terms using FeatureField. On Wed, Nov 15, 2023 at 10:03 AM Michael Wechner wrote: > Hi > > I have found the following issue re a possible SPLADE implementation > >

SPLADE implementation

2023-11-15 Thread Michael Wechner
Hi I have found the following issue re a possible SPLADE implementation https://github.com/apache/lucene/issues/11799 Is somebody still working on this? Thanks Michael - To unsubscribe, e-mail: