[
https://issues.apache.org/jira/browse/SOLR-6449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14175587#comment-14175587
]
Steve Davids commented on SOLR-6449:
------------------------------------
The current way of accessing the Real Time Get in SolrJ you need to do
something along the lines of:
{code}
SolrDocument doc = solrServer.query(params("qt", "/get", "id",
id)).getResponse().get("doc");
{code}
It would be convenient to provide a native method of (or similar variant):
{code}
SolrDocument doc = solrServer.get(id);
{code}
> Add first class support for Real Time Get in Solrj
> --------------------------------------------------
>
> Key: SOLR-6449
> URL: https://issues.apache.org/jira/browse/SOLR-6449
> Project: Solr
> Issue Type: Improvement
> Components: clients - java
> Reporter: Shalin Shekhar Mangar
> Labels: difficulty-medium, impact-medium
> Fix For: 5.0
>
>
> Any request handler can be queried by Solrj using a custom param map and the
> "qt" parameter but I think /get should get first-class support in the java
> client.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]