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

Noble Paul edited comment on SOLR-6191 at 8/3/14 9:14 AM:
----------------------------------------------------------

This annotates the corresponding class with the parameter info


Take a look at PingRequestHandler.java for an example

There is a coreadmin API called methodinfo which can give you these details and 
lookup can be done by the name or the class name

example : 
http://localhost:8983/solr/admin/cores?action=methodinfo&name=/admin/ping&core=collection1&wt=json


was (Author: noble.paul):
This annotates the corresponding class with the parameter info


Take a look at PingRequestHandler.java for an example

There is a coreadmin API called methodinfo which can give you these details and 
lookup can be done by the name or the class name

> Self Describing SearchComponents, RequestHandlers, params. etc.
> ---------------------------------------------------------------
>
>                 Key: SOLR-6191
>                 URL: https://issues.apache.org/jira/browse/SOLR-6191
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Vitaliy Zhovtyuk
>            Assignee: Noble Paul
>              Labels: features
>         Attachments: SOLR-6191.patch, SOLR-6191.patch
>
>
> We should have self describing parameters for search components, etc.
> I think we should support UNIX style short and long names and that you should 
> also be able to get a short description of what a parameter does if you ask 
> for INFO on it.
> For instance, &fl could also be &fieldList, etc.
> Also, we should put this into the base classes so that new components can add 
> to it.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to