Re: DisjunctionMinQuery

2023-11-09 Thread Marc D'Mello
that case you should use something like 1/x as your scoring function > in the sub-clauses. In Lucene scores should go up for more relevancy. > This must also apply for function scoring. > > Uwe > > Am 09.11.2023 um 19:14 schrieb Marc D'Mello: > > Hi Michael, > > &

Re: DisjunctionMinQuery

2023-11-09 Thread Marc D'Mello
se. > > How would you use a DisMinQuery? > > Thanks, > Froh > > > > On Wed, Nov 8, 2023 at 10:50 AM Marc D'Mello wrote: > > > Hi all, > > > > I noticed we have a DisjunctionMaxQuery > > < > > > https://github.com/apache/lucene/b

DisjunctionMinQuery

2023-11-08 Thread Marc D'Mello
Hi all, I noticed we have a DisjunctionMaxQuery but not a corresponding DisjunctionMinQuery. I was just wondering if there was a specific reason for that? Or is it just that it

Re: When to use StringField and when to use FacetField for categorization?

2023-10-20 Thread Marc D'Mello
Just following up on Mike's comment: > It used to be that the "doc values" based faceting did not support > arbitrary hierarchy, but I think that was fixed at some point. Yeah it was fixed a year or two ago, SortedSetDocValuesFacetField supports hierarchical faceting, I think you just need to e

Disjunctively scoring non-matching conjunctive clauses

2023-07-20 Thread Marc D'Mello
ot; title:"b" title:"c") Pretty much, I separate this into a matching query that is wrapped by a ConstantScore query so it has no score and a scoring query that will provide a disjunctive score. My approach feels a bit convoluted, so I was wondering if there were any cleaner ways to do this? And if not, are there any drawbacks to my workaround performance wise? Thanks! Marc D'Mello

RangeFacetsCount Question

2022-04-21 Thread Marc D'Mello
tMatchQuery param. Maybe I'm misunderstanding something here? If anyone has an explanation that would be super helpful! Thanks! Marc D'Mello

Re: Issue with Japanese User Dictionary

2022-01-13 Thread Marc D'Mello
the point is - can you share some more information -- what > is the full entry in the dictionary that causes the problem? > > On Wed, Jan 12, 2022 at 7:04 PM Marc D'Mello wrote: > > > > Hi, > > > > I had a question about the Japanese user dictionary. We have a use

Issue with Japanese User Dictionary

2022-01-12 Thread Marc D'Mello
Hi, I had a question about the Japanese user dictionary. We have a user dictionary that used to work but after attempting to upgrade Lucene, it fails with the following error: Caused by: java.lang.RuntimeException: Illegal user dictionary entry レコーダー - the concatenated segmentation (レコーダー) does