You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Matt Weber (JIRA)" <ji...@apache.org> on 2018/04/30 15:46:00 UTC

[jira] [Commented] (LUCENE-8284) Add MultiTermsIntervalsSource

    [ https://issues.apache.org/jira/browse/LUCENE-8284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16458673#comment-16458673 ] 

Matt Weber commented on LUCENE-8284:
------------------------------------

[~romseygeek] [~jimczi]

Since these expand terms per-segment the terms are not available when creating the {{IntervalWeight}} and thus result in a null {{simScorer}} if these are the only sources.  I currently picked using a constant {{1.0f}} in this case.  Not sure if this is the best approach or not.

> Add MultiTermsIntervalsSource
> -----------------------------
>
>                 Key: LUCENE-8284
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8284
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Matt Weber
>            Priority: Minor
>         Attachments: LUCENE-8284.patch
>
>
> Add support for creating an {{IntervalsSource}} from multi-term expansions such as wildcards, regular expressions, etc.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org