java.lang.IllegalArgumentException: Invalid reference 'softId_suggest'

Stack Overflow | zhaosting | 4 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Get an exception with Invalid reference from Solr DocumentExpressionDictionaryFactory

    Stack Overflow | 4 months ago | zhaosting
    java.lang.IllegalArgumentException: Invalid reference 'softId_suggest'

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Invalid reference 'softId_suggest'

      at org.apache.lucene.expressions.SimpleBindings.getValueSource()
    2. Lucene Expressions
      Expression.getValueSource
      1. org.apache.lucene.expressions.SimpleBindings.getValueSource(SimpleBindings.java:84)
      2. org.apache.lucene.expressions.ExpressionValueSource.<init>(ExpressionValueSource.java:45)
      3. org.apache.lucene.expressions.Expression.getValueSource(Expression.java:80)
      3 frames
    3. Apache Solr Core
      SolrCore.lambda$3
      1. org.apache.solr.spelling.suggest.DocumentExpressionDictionaryFactory.fromExpression(DocumentExpressionDictionaryFactory.java:107)
      2. org.apache.solr.spelling.suggest.DocumentExpressionDictionaryFactory.create(DocumentExpressionDictionaryFactory.java:92)
      3. org.apache.solr.spelling.suggest.SolrSuggester.build(SolrSuggester.java:174)
      4. org.apache.solr.handler.component.SuggestComponent$SuggesterListener.buildSuggesterIndex(SuggestComponent.java:528)
      5. org.apache.solr.handler.component.SuggestComponent$SuggesterListener.newSearcher(SuggestComponent.java:508)
      6. org.apache.solr.core.SolrCore.lambda$3(SolrCore.java:1863)
      6 frames
    4. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(Unknown Source)
      1 frame
    5. Apache Solr Solrj
      ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0
      1. org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
      1 frame
    6. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames