lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Areek Zillur (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-6702) [suggest] Make Context Query and Field extensible
Date Wed, 29 Jul 2015 06:42:04 GMT

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

Areek Zillur updated LUCENE-6702:
---------------------------------
    Description: 
ContextSuggestField indexes context information along with 
suggestions, which can be used to filter and/or boost suggestions using 
ContextQuery.
It would be useful to make ContextSuggestField extensible such that subclasses 
can inject context values at index-time, without having to specify the 
contexts in its ctor.
ContextQuery can be made extensible by allowing sub-classes to override
how context automaton is created from provided query contexts. 
Currently, ContextQuery uses a context value of "*" to consider all context values, 
It makes sense to have a dedicated {{addAllContexts()}} instead.  

  was:
ContextSuggestField indexes context information along with 
suggestions, which can be used to filter and/or boost suggestions using 
ContextQuery.
It would be useful to make ContextSuggestField extensible such that subclasses 
can inject context values at index-time, without having to specify the 
contexts in its ctor.
ContextQuery can be made extensible by allowing sub-classes to override
how context automaton is created from provided query contexts. 
Currently, ContextQuery uses a context value of "*" to consider all context values, It makes
sense to have a dedicated {{addAllContexts()}} instead.  


> [suggest] Make Context Query and Field extensible
> -------------------------------------------------
>
>                 Key: LUCENE-6702
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6702
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/other
>    Affects Versions: Trunk
>            Reporter: Areek Zillur
>            Assignee: Areek Zillur
>             Fix For: Trunk
>
>
> ContextSuggestField indexes context information along with 
> suggestions, which can be used to filter and/or boost suggestions using 
> ContextQuery.
> It would be useful to make ContextSuggestField extensible such that subclasses 
> can inject context values at index-time, without having to specify the 
> contexts in its ctor.
> ContextQuery can be made extensible by allowing sub-classes to override
> how context automaton is created from provided query contexts. 
> Currently, ContextQuery uses a context value of "*" to consider all context values, 
> It makes sense to have a dedicated {{addAllContexts()}} instead.  



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

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


Mime
View raw message