Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Add field types to index metadata #190

Tom9729 opened this Issue · 1 comment

2 participants

Tom Arnold Robert Newson
Tom Arnold

I am working on a translator for Teiid ( to expose a c-l instance as a relational data source: each index is a table, fields are columns, SQL is translated to Lucene queries. I am pulling the fields from the index metadata as described in the docs:


I need to know the types of the fields (eg. string, date, long). Currently I am encoding it in the name:


It would be helpful if instead, the fields could be returned with more information like this:


Robert Newson

The types are not known, sadly. Lucene (at least until version 4.0) deals only with strings. It's why the query-time sort parameter requires type hints.

Tom Arnold Tom9729 closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.