[ https://issues.apache.org/jira/browse/SOLR-7314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Endele updated SOLR-7314: ------------------------------- Description: There are some parameter names/values, for which constants are missing in SolrJ. One has always to declare constants for them by herself (or hard-code them). * "defType" * "edismax" (value for defType) * "dismax" (value for defType) * "lucene" (value for defType) * "spellcheck" (there's SpellingParams.SPELLCHECK_PREFIX = "spellcheck.", but none without dot) * "[elevated]" (pseudo field for the QueryElevationComponent) See http://lucene.apache.org/solr/5_0_0/solr-solrj/constant-values.html Maybe there are even more, but these are the ones I always stumble upon. Of course there are constants in the Solr Core code, but typically one doesn't want to have a dependency on it when implementing a client. was: There are some parameter names/values, for which constants are missing in SolrJ. One has always to declare constants for them by herself (or hard-code them). * "defType" * "edismax" (value for defType) * "dismax" (value for defType) * "lucene" (value for defType) * "spellcheck" (there's SpellingParams.SPELLCHECK_PREFIX = "spellcheck.", but none without dot) See http://lucene.apache.org/solr/5_0_0/solr-solrj/constant-values.html Maybe there are even more, but these are the ones I always stumble upon. Of course there are constants in the Solr Core code, but typically one doesn't want to have a dependency on it when implementing a client. > Constants missing in Solrj > -------------------------- > > Key: SOLR-7314 > URL: https://issues.apache.org/jira/browse/SOLR-7314 > Project: Solr > Issue Type: Wish > Components: SolrJ > Reporter: Simon Endele > > There are some parameter names/values, for which constants are missing in > SolrJ. One has always to declare constants for them by herself (or hard-code > them). > * "defType" > * "edismax" (value for defType) > * "dismax" (value for defType) > * "lucene" (value for defType) > * "spellcheck" (there's SpellingParams.SPELLCHECK_PREFIX = "spellcheck.", but > none without dot) > * "[elevated]" (pseudo field for the QueryElevationComponent) > See http://lucene.apache.org/solr/5_0_0/solr-solrj/constant-values.html > Maybe there are even more, but these are the ones I always stumble upon. > Of course there are constants in the Solr Core code, but typically one > doesn't want to have a dependency on it when implementing a client. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org