You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jason Gerlowski (JIRA)" <ji...@apache.org> on 2017/05/13 15:14:04 UTC
[jira] [Updated] (SOLR-7314) Constants missing in Solrj
[ https://issues.apache.org/jira/browse/SOLR-7314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Gerlowski updated SOLR-7314:
----------------------------------
Attachment: SOLR-7314.patch
Added a patch for the constants specifically mentioned above.
If anyone else brings up constants that are missing in SolrJ, I'll be happy to update the patch. And I'll take a look for missing constants myself when I get a few more minutes.
> 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
> Attachments: SOLR-7314.patch
>
>
> 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.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org