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

Mitchel Labonte edited comment on SOLR-7963 at 5/10/16 9:49 PM:
----------------------------------------------------------------

Hello [~arcadius],
Do you think it would be possible to use filter queries using the original 
Lucene index the document belongs to without having to copy the fields over in 
contexts.
I wonder if something like keeping the id of the document as a "context" could 
be used to do a lookup in the original index to see if it respects a specific 
filter query.

Cause for now, if users want to filter based on multiple fields, their only 
solution is to index all those fields in "contexts", with the field name as a 
prefix i.e. type_typeA, category_categoryB.

Also, users cannot use functions, like termfreq.


was (Author: mlabont):
Hello [~arcadius],
Do you think it would be possible to use filter queries using the original 
Lucene index the document belongs to without having to copy the fields over in 
contexts.
I wonder if something like keeping the id of the document as a "context" could 
be used to do a lookup in the original index to see if it respects the filter 
query.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to