lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <arafa...@gmail.com>
Subject Re: Retrieving of Field Type
Date Wed, 09 Mar 2016 05:31:00 GMT
The Admin UI does and it uses Javascript. So you know it is possible.

Admin UI uses Luke for technical-level info:
http://localhost:8983/solr/techproducts/admin/luke
You can use Schema API for slightly better one:
http://localhost:8983/solr/techproducts/schema
You can also use Schema API to get just one field's info too:
http://localhost:8983/solr/techproducts/schema/fields/text

Regards,
   Alex.
----
Newsletter and resources for Solr beginners and intermediates:
http://www.solr-start.com/


On 9 March 2016 at 16:19, Zheng Lin Edwin Yeo <edwinyeozl@gmail.com> wrote:
> Hi,
>
> Is there any way that we can retrieve the field type of a field, either by
> using SolrJ or by using URL?
> The field type that we assigned in schema.xml, like int, float, tdate..
> Would like to see if it is possible to retrieve it without going back to
> the schema.xml.
> I'm using Solr 5.4.0
>
> Regards,
> Edwin

Mime
View raw message