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

Areek Zillur updated LUCENE-6515:
---------------------------------
    Attachment: LUCENE-6515.patch

Initial patch, only cosmetic changes:
 - Change ContextSuggestField ctor from:
   {code}
   public ContextSuggestField(String name, Collection<CharSequence> contexts, 
String value, int weight)
   {code}
   to
   {code}
   public ContextSuggestField(String name, String value, int weight, 
CharSequence... contexts) 
   {code}
- nuke unused {{minWeight}} and {{maxWeight}} from {{CompletionWeight}}
- cleanup of {{NRTSuggester}}

> Suggest API cleanup
> -------------------
>
>                 Key: LUCENE-6515
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6515
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>            Reporter: Areek Zillur
>             Fix For: Trunk, 5.3
>
>         Attachments: LUCENE-6515.patch
>
>
> This is a spin off from 
> [LUCENE-6459|https://issues.apache.org/jira/browse/LUCENE-6459].
> Mainly to clean up the new APIs (e.g. ContextSuggestField) and
> remove any unused code.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to