> From: Christian Meunier
> 
> > > From: Christian Meunier
> > >
> > > Why there is not method to get the field on which the filter
> > > is used to restrict the search ?
> >
> > A filter may not always restrict the search to a single 
> > field.  One could
> > construct a filter with arbitrary criteria that may or may 
> > not correspond to document fields.
> 
> Oky  i ll try to think for a good workaround beside recompiling lucene
> hacking the filter class.

A workaround for what?  It's not clear what you're trying to do.

If you need something that's like a Filter, but that operates on a
particular field, then define a subclass of Filter that has a getFieldName()
method, and use that where you're using Filter.

Doug

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to