[ 
https://issues.apache.org/jira/browse/LUCENE-6050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

jane chang updated LUCENE-6050:
-------------------------------
    Attachment: LUCENE-6050.patch

here's a patch that adds the allContextsRequired boolean and two tests

> Add possibility to specify SHOUD or MUST for each context for 
> AnalyzingInfixSuggester.loockup()
> -----------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-6050
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6050
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 4.10.2
>            Reporter: Arcadius Ahouansou
>            Priority: Minor
>         Attachments: LUCENE-6050.patch
>
>
> Currently 
> {code}
>  lookup(CharSequence key, Set<BytesRef> contexts, int num, boolean 
> allTermsRequired, boolean doHighlight, boolean allContextsRequired)
> {code}
> applies *SHOULD* to all contexts.
> We need the ability to specify whether it's a *SHOULD* or a *MUST* on each 
> individual context.
> Thanks
> Arcadius.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to