Re: Fetching Dynamic Fields
One option is to hit the Luke request handler (&numTerms=0 for best performance), grab all the field names there, then build the fl list (or facet.field in the cases I've used this trick for) from the fields with the prefix you desire. Erik On Jun 8, 2009, at 11:40 AM, Manepalli, Kalyan wrote: Hi all, Is there a way to select all the dynamic fields in the fl field without using *. Here is what I am looking for. Fields in the schema, locationName_*, locationId,description,content. I want to select just the locationName_* and locationId. How can I do this without using fl=*, coz I don't want to fetch all the other fields. Any suggestions in this regard will be helpful. Thanks, Kalyan Manepalli
RE: Fetching Dynamic Fields
No I am looking for specific scenario. I want to query for the dynamic fields along with few normal fields. Thanks, Kalyan Manepalli -Original Message- From: Avlesh Singh [mailto:avl...@gmail.com] Sent: Monday, June 08, 2009 1:22 PM To: solr-user@lucene.apache.org Subject: Re: Fetching Dynamic Fields Hope this helps - http://wiki.apache.org/solr/CommonQueryParameters#head-db2785986af2355759faaaca53dc8fd0b012d1ab Cheers Avlesh On Mon, Jun 8, 2009 at 9:10 PM, Manepalli, Kalyan < kalyan.manepa...@orbitz.com> wrote: > Hi all, >Is there a way to select all the dynamic fields in the fl field > without using *. Here is what I am looking for. > Fields in the schema, locationName_*, locationId,description,content. > I want to select just the locationName_* and locationId. How can I do this > without using fl=*, coz I don't want to fetch all the other fields. > > Any suggestions in this regard will be helpful. > > Thanks, > Kalyan Manepalli > >
Re: Fetching Dynamic Fields
Hope this helps - http://wiki.apache.org/solr/CommonQueryParameters#head-db2785986af2355759faaaca53dc8fd0b012d1ab Cheers Avlesh On Mon, Jun 8, 2009 at 9:10 PM, Manepalli, Kalyan < kalyan.manepa...@orbitz.com> wrote: > Hi all, >Is there a way to select all the dynamic fields in the fl field > without using *. Here is what I am looking for. > Fields in the schema, locationName_*, locationId,description,content. > I want to select just the locationName_* and locationId. How can I do this > without using fl=*, coz I don't want to fetch all the other fields. > > Any suggestions in this regard will be helpful. > > Thanks, > Kalyan Manepalli > >