You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Baskar (Jira)" <ji...@apache.org> on 2019/09/19 06:26:00 UTC

[jira] [Comment Edited] (SOLR-8928) suggest.cfq does not work with DocumentExpressionDictionaryFactory/weightExpression

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

Baskar edited comment on SOLR-8928 at 9/19/19 6:25 AM:
-------------------------------------------------------

I think its not resolved in the latest version too.  I tried with the solr version as 8.2.0.  I shared the configuration could you please check the configuration is right ?

 

<searchComponent name="suggest" class="solr.SuggestComponent"><searchComponent name="suggest" class="solr.SuggestComponent"> <lst name="suggester">            <str name="name">blendedInfixSuggester</str>            <str name="lookupImpl">BlendedInfixLookupFactory</str>            <str name="blenderType">position_linear</str>            <str name="dictionaryimpl">DocumentDictionaryFactory</str>            <str name="field">value</str>            <str name="suggestAnalyzerFieldType">text_general</str>            <str name="weightField">rank</str>            <str name="payloadField">suggesterField</str>            <str name="buildOnStartup">false</str>            <str name="buildOnCommit">false</str> <str name="contextField">archive</str> </lst> </searchComponent>


was (Author: baskar):
I think its not resolved in the latest version too.  I tried with the solr version as 8.2.0.  I shared the configuration could you please check the configuration is right ?

> suggest.cfq does not work with DocumentExpressionDictionaryFactory/weightExpression
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-8928
>                 URL: https://issues.apache.org/jira/browse/SOLR-8928
>             Project: Solr
>          Issue Type: Bug
>          Components: Suggester
>    Affects Versions: 5.5
>            Reporter: jmlucjav
>            Priority: Major
>
> Using BlendedInfixLookupFactory, trying to use  DocumentExpressionDictionaryFactory/weightExpression with suggest.cfq does not work. No docs get returned, even the ones that comply with the cfq.
> Moving to DocumentDictionaryFactory/weightField fixes this.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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