I am really sorry Gajendra, but what do your latex mails mean ? Why classic field boosting is not an option for you ? Are you developing a custom query parser ? What are the parameter expected for this query parser ? What is the behaviour expected ? It is really hard to help with such fragmented information.
Cheers 2015-07-08 11:42 GMT+01:00 Gajendra Dadheech <gajju3...@gmail.com>: > At the time of forming this request i am not sure which kind of field that > would be. So i read fields in new searcher. > > > Thanks and regards, > Gajendra Dadheech > > > On Wed, Jul 8, 2015 at 2:12 PM, Gajendra Dadheech <gajju3...@gmail.com> > wrote: > > > I wish to do it in code so schema browser is lesser of an option. > > > > Use case is : I wish to boost particular fields while matching, for that > > i need to know My field to Solr field mapping. SO that i can put that in > > the query. > > > > > > Thanks and regards, > > Gajendra Dadheech > > > > > > On Tue, Jul 7, 2015 at 9:23 PM, Erick Erickson <erickerick...@gmail.com> > > wrote: > > > >> 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> > >> > > > > > -- -------------------------- Benedetti Alessandro Visiting card : http://about.me/alessandro_benedetti "Tyger, tyger burning bright In the forests of the night, What immortal hand or eye Could frame thy fearful symmetry?" William Blake - Songs of Experience -1794 England