You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Arcadius Ahouansou (JIRA)" <ji...@apache.org> on 2015/10/15 11:46:05 UTC

[jira] [Commented] (SOLR-7963) Suggester context filter query to accept local params query

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

Arcadius Ahouansou commented on SOLR-7963:
------------------------------------------

Hello [~janhoy].
Did you think a bit about the usage/nonUsage or the existing solr schema?

Re-using the existing schema has many advantages such as:

- Suggest becomes very similar to normal solr search
- analyzers, fields and fieldTypes are defined in the schema the very same way it's done for search
- We can reuse the existing QParsers with zero change
- No need to maintain suggest "schema" as java constants

Thank you very much.


> Suggester context filter query to accept local params query
> -----------------------------------------------------------
>
>                 Key: SOLR-7963
>                 URL: https://issues.apache.org/jira/browse/SOLR-7963
>             Project: Solr
>          Issue Type: Improvement
>          Components: Suggester
>    Affects Versions: 5.4
>            Reporter: Arcadius Ahouansou
>            Priority: Minor
>              Labels: suggester
>
> SOLR-7888 has introduced a new parameter for filtering suggester queries
> {code}suggest.cfq=ctx1 OR ctx2{code} 
> The implementation use the Solr {{StandardQueryParser}} for parsing the cfq param.
> This card is to allow to pass in local param queries such as 
> {code}
> suggest.cfq={!terms f=contextx}ctx1,ctx2
> {code}



--
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