Anyone has comments on this one or should I forward this to the user list?
thanks

-John

On 11/8/07, John Wang <[EMAIL PROTECTED]> wrote:
>
> It would be cleaner if we can add some sort of factory pattern for
> similarities to Query. It is essentially using the Searcher as the
> source for Similarity.
>
> Thoughts?
>
> -john
>
> On Nov 8, 2007 9:37 AM, John Wang <[EMAIL PROTECTED]> wrote:
> > Hi:
> >
> >    We are running into a situation that we want to have a similarity
> > depending on a field.
> >
> >    We also want to leverage QueryParser. The easiest thing we can find
> > is to override the QueryParser class with the method getFieldQuery. It
> > would be a lot simpler if we can just set the similarity on the
> > returned field.
> >
> >    It would  involve adding the setter on the Query class.
> >
> >    Any thoughts? I can create a jira issue if it is something kosher to
> do.
> >
> > Thanks
> >
> > -John
> >
>

Reply via email to