Ugh.

Ok, so if the list is different per-request, you should probably look
at writing a custom search component if you want to keep it all in
Solr layer.

But really, you have middle-ware, right? Why don't you formulate your
query with all the business requirement specifics in there.

Regards,
   Alex.
----
http://www.solr-start.com/ - Resources for Solr users, new and experienced


On 17 April 2017 at 11:19, Midas A <test.mi...@gmail.com> wrote:
> Here if i am saying dynamic say *by_* *is the  field then by_color, by_size
> .. etc . would be the dynamic fields .
>
> Regards,
> Abhishek Tiwari
>
> On Mon, Apr 17, 2017 at 1:47 PM, Midas A <test.mi...@gmail.com> wrote:
>
>> Thanks alex,
>>
>> I want all dynamic fields related to a query( i.e. category_id : 199
>>  where 199 category has around 10000 docs) .
>>
>> How we can get this with help of luke Request handler.
>>
>> On Mon, Apr 17, 2017 at 1:39 PM, Alexandre Rafalovitch <arafa...@gmail.com
>> > wrote:
>>
>>> You could externalize that by periodically:
>>> 1) Running a luke query or Schema API to get the list of fields
>>> 2) Running Request Parameter API to update the list of field to return
>>> (this does not cause core reload)
>>> 3) If you have permanent field list on top of dynamic ones, you could
>>> use parameter substitution as well to combine them
>>> 4) if you really, really need to be in sync, you could use commit hook
>>> to trigger this
>>>
>>> Regards,
>>>    Alex.
>>> ----
>>> http://www.solr-start.com/ - Resources for Solr users, new and
>>> experienced
>>>
>>>
>>> On 17 April 2017 at 11:00, Midas A <test.mi...@gmail.com> wrote:
>>> > Can we do faceting for all fields created by dynamically created fields
>>> > rather sending explicitly sending it by query
>>> > will facet.fields=*by_* *
>>> > work or any other alternate ??
>>> >
>>> > I was thinking that i will get all dynamic fields with help of Luke
>>> handler
>>> > . But probably it is not possible through luke for a query
>>> >
>>> >
>>> >
>>> > On Fri, Apr 14, 2017 at 5:32 PM, Ahmet Arslan <iori...@yahoo.com.invalid
>>> >
>>> > wrote:
>>> >
>>> >> Hi Midas,
>>> >>
>>> >> LukeRequestHandler shows that information.
>>> >>
>>> >> Ahmet
>>> >>
>>> >> On Friday, April 14, 2017, 1:16:09 PM GMT+3, Midas A <
>>> test.mi...@gmail.com>
>>> >> wrote:
>>> >> Actually , i am looking for APi
>>> >>
>>> >> On Fri, Apr 14, 2017 at 3:36 PM, Andrea Gazzarini <gxs...@gmail.com>
>>> >> wrote:
>>> >>
>>> >> > I can see those names in the "Schema  browser" of the admin UI, so I
>>> >> guess
>>> >> > using the (lucene?) API it shouldn't be hard to get this info.
>>> >> >
>>> >> > I don' know if the schema api (or some other service) offer this
>>> service
>>> >> >
>>> >> > Andrea
>>> >> >
>>> >> > On 14 Apr 2017 10:03, "Midas A" <test.mi...@gmail.com> wrote:
>>> >> >
>>> >> > > Hi,
>>> >> > >
>>> >> > >
>>> >> > > Can i get all the field created for dynamic field in solr .
>>> >> > >
>>> >> > > Like
>>> >> > > my dynamic field is by_*
>>> >> > >
>>> >> > > and i have index
>>> >> > > by_color
>>> >> > > by_size ..
>>> >> > > etc
>>> >> > >
>>> >> > > I want to retrieve all these field name .
>>> >> > > Is there any way to do this  based on some query
>>> >> > >
>>> >> >
>>> >>
>>>
>>
>>

Reply via email to