On Thu, Feb 20, 2014 at 1:43 PM, Jamie Johnson <jej2...@gmail.com> wrote: > Is there a way to limit the fields a user can query by when using the > standard query parser or a way to get all fields/terms that make up a query > without writing custom code for each query subclass?
If you mean StandardQueryParser, you could subclass StandardQueryNodeProcessorPipeline and add one more processor into the pipeline which looks for instances of FieldableNode. That should cover any kind of query node which can have a field on it. TX --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org