Re: Getting fields from query

2014-02-19 Thread Jamie Johnson
rupansky > > -Original Message- From: Jamie Johnson > Sent: Wednesday, February 19, 2014 8:05 PM > To: solr-user@lucene.apache.org ; Ahmet Arslan > Subject: Re: Getting fields from query > > On closer inspection this isn't quite what I'm looking for. The

Re: Getting fields from query

2014-02-19 Thread Jack Krupansky
y of the Lucene query parser. -- Jack Krupansky -Original Message- From: Jamie Johnson Sent: Wednesday, February 19, 2014 8:05 PM To: solr-user@lucene.apache.org ; Ahmet Arslan Subject: Re: Getting fields from query On closer inspection this isn't quite what I'm looking for. The

Re: Getting fields from query

2014-02-19 Thread Jamie Johnson
On closer inspection this isn't quite what I'm looking for. The functionality is spot on, but I'm looking for a way to do this using a Query Parser in Lucene core, i.e. StandardQueryParser unless folks have experience with using the Solr query parsers with vanilla lucene? Though I'd prefer to stic

Re: Getting fields from query

2014-02-19 Thread Jamie Johnson
This actually may do what I want, I'll have to check. Right now we are using Lucene directly and not Solr for this particular project, but if this fits the bill we may be able to use just the query parser. On Wed, Feb 19, 2014 at 4:30 PM, Ahmet Arslan wrote: > Hi Jamie, > > May not be direct a

Re: Getting fields from query

2014-02-19 Thread Ahmet Arslan
Hi Jamie, May not be direct answer to your question but your Q reminded me edismax's uf parameter. http://wiki.apache.org/solr/ExtendedDisMax#uf_.28User_Fields.29 On Wednesday, February 19, 2014 11:18 PM, Jamie Johnson wrote: Is there a way to get all the fields that are in a particular q

Getting fields from query

2014-02-19 Thread Jamie Johnson
Is there a way to get all the fields that are in a particular query? Ultimately I'd like to restrict the fields that a user can use to search so I want to make sure that there aren't any fields in the query that they should not be allowed to search.