Feels like an XY problem. Why do you want to do this? What's the use-case? Perhaps there's an alternative approach that satisfies the need.
Best, Erick On Tue, Jul 7, 2015 at 4:21 AM, Mikhail Khludnev <mkhlud...@griddynamics.com> wrote: > Just an idea, Solr Admin/Schema Browser reports some info like this, hence, > you can trace the way in which it does it. > > On Tue, Jul 7, 2015 at 10:34 AM, Gajendra Dadheech <gajju3...@gmail.com> > wrote: > >> Hi, >> >> Can i some how translate fields which i read from >> newSearcher.getAtomicReader().fields(), to schema fields ? Does solr expose >> any method to do this translation ? Alternative approach i am thinking will >> involved lots of regex computation as the fields would be _string, _float >> etc and i would have to remove those suffixes, this becomes little tricky >> when fields are dynamic. >> >> Thanks and regards, >> Gajendra Dadheech >> > > > > -- > Sincerely yours > Mikhail Khludnev > Principal Engineer, > Grid Dynamics > > <http://www.griddynamics.com> > <mkhlud...@griddynamics.com>