Re: How to get field names of dynamic field

2017-04-17 Thread Alexandre Rafalovitch
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,

Re: How to get field names of dynamic field

2017-04-17 Thread Midas A
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 wrote: > Thanks alex, > > I want all dynamic fields related to a query( i.e. category_id : 199 > where 199 catego

Re: How to get field names of dynamic field

2017-04-17 Thread Midas A
Thanks alex, I want all dynamic fields related to a query( i.e. category_id : 199 where 199 category has around 1 docs) . How we can get this with help of luke Request handler. On Mon, Apr 17, 2017 at 1:39 PM, Alexandre Rafalovitch wrote: > You could externalize that by periodically: > 1)

Re: How to get field names of dynamic field

2017-04-17 Thread Alexandre Rafalovitch
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 su

Re: How to get field names of dynamic field

2017-04-17 Thread Midas A
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

Re: How to get field names of dynamic field

2017-04-14 Thread Ahmet Arslan
Hi Midas, LukeRequestHandler shows that information. Ahmet On Friday, April 14, 2017, 1:16:09 PM GMT+3, Midas A wrote: Actually , i am looking for APi On Fri, Apr 14, 2017 at 3:36 PM, Andrea Gazzarini wrote: > I can see those names in the "Schema  browser" of the admin UI, so I guess > usin

Re: How to get field names of dynamic field

2017-04-14 Thread Midas A
Actually , i am looking for APi On Fri, Apr 14, 2017 at 3:36 PM, Andrea Gazzarini 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 t

Re: How to get field names of dynamic field

2017-04-14 Thread Andrea Gazzarini
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" wrote: > Hi, > > > Can i get all the field c

How to get field names of dynamic field

2017-04-14 Thread Midas A
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