> >> I would recommend to *not* use QueryWrapperFilter and instead wrap with
> ConstantScoreQuery and add it to the query as a Boolean MUST clause. In that
> case it should work fine. There is no performance increase by using
> QueryWrapperFilter, so no reason to use it.
> >
> > It's important for
Thanks Mike.
On Mon, Oct 8, 2012 at 4:30 PM, Michael McCandless <
luc...@mikemccandless.com> wrote:
> On Fri, Oct 5, 2012 at 10:24 AM, selvakumar netaji
> wrote:
> > Hi All,
> >
> >
> > In the TokenStreamAPI section of the analysis documentation for lucene
> 4.0
> > beta, MyAnalyzer class is de
On Mon, Oct 8, 2012 at 2:29 PM, Thomas Matthijs wrote:
> On Mon, Oct 8, 2012 at 11:28 AM, Uwe Schindler wrote:
>> Hi,
>>
>> This is a known problem currently. I think there is already an issue open,
>> so this was not solved for 4.0 (I don't have the issue no available at the
>> moment).
>>
>>
On Mon, Oct 8, 2012 at 11:28 AM, Uwe Schindler wrote:
> Hi,
>
> This is a known problem currently. I think there is already an issue open, so
> this was not solved for 4.0 (I don't have the issue no available at the
> moment).
>
> My plan to fix this is to make Filters behave like queries (with
On Fri, Oct 5, 2012 at 10:24 AM, selvakumar netaji
wrote:
> Hi All,
>
>
> In the TokenStreamAPI section of the analysis documentation for lucene 4.0
> beta, MyAnalyzer class is defined.
>
> They've added the lengthFilter in the create components method. The length
> filter doesn't accept method w
That is correct ... it should be:
OffsetAttribute offsetAtt = ts.addAttribute(OffsetAttribute.class);
I'll fix the javadocs (for 4.1) ... thanks for raising!
Mike McCandless
http://blog.mikemccandless.com
On Fri, Oct 5, 2012 at 7:40 AM, selvakumar netaji
wrote:
> Actually I'm getting resu
On Mon, Oct 8, 2012 at 11:28 AM, Uwe Schindler wrote:
> Hi,
>
> This is a known problem currently. I think there is already an issue open, so
> this was not solved for 4.0 (I don't have the issue no available at the
> moment).
>
> My plan to fix this is to make Filters behave like queries (with
Hi,
This is a known problem currently. I think there is already an issue open, so
this was not solved for 4.0 (I don't have the issue no available at the moment).
My plan to fix this is to make Filters behave like queries (with a rewrite()
method), so the correct context can be passed to a "rew
Hello,
I have some custom queries & scorer that need to able to construct the
"global" docIds (doc + docBase).
But when i use these in a QueryWrapperFilter they no longer work,
because QueryWrapperFilter.getDocIdSet uses a "private context"
(context.reader().getContext();) which always has a docB
Can you please help me to sort this out.
On Fri, Oct 5, 2012 at 7:54 PM, selvakumar netaji wrote:
> Hi All,
>
>
> In the TokenStreamAPI section of the analysis documentation for lucene
> 4.0 beta, MyAnalyzer class is defined.
>
> They've added the lengthFilter in the create components method. Th
10 matches
Mail list logo