lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gajendra Dadheech <gajju3...@gmail.com>
Subject Re: Indexed field to schema field
Date Wed, 08 Jul 2015 08:42:58 GMT
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 <erickerickson@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
> <mkhludnev@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 <gajju3588@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>
> > <mkhludnev@griddynamics.com>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message