lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arcadius Ahouansou (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-7963) Suggester context filter query to accept local params query
Date Sun, 22 May 2016 07:39:13 GMT

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

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

Hello [~mlabont]
{quote}
that's a shame because applications using filter queries for entitlement are locked out from
the suggester except if all fields are basically copied over in Contexts.
{quote}
In normal use cases, a call to the suggester is done separately ....

The good news is that you do not need to manually "copy" those fields to the context. You
could use {{copyField}} in schema.xml to do this


Talking about {{termfreq}}: Maybe what you really need is full text search, not suggester?

[~mlabont], Please could you ask on the mailing list any further question you may have? 
There are more knowledgeable people there who may be able to help you.


> 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


Mime
View raw message