7;ve looked at the migration guide for Lucene 6
> <https://lucene.apache.org/core/6_5_1/MIGRATE.html> and javadocs and I'm
> just not understanding the intended path to migrate away from using Filter
> and FilteredQuery. In the migration guide I see:
> Removal of Filter and FilteredQ
just not understanding the intended path to migrate away from using Filter
and FilteredQuery. In the migration guide I see:
Removal of Filter and FilteredQuery (LUCENE-6301
<https://issues.apache.org/jira/browse/LUCENE-6301>,LUCENE-6583
<https://issues.apache.org/jira/browse/LUCENE-6583>
> filter to an executed query. I instantiate (sorry if my lexicon is off) a
> FilteredQuery and pass my filter and the boolean query to the constructor.
> What I think should happen is that the FilteredQuery applies a filter to
> the results of the BooleanQuery. If this isn't happe
Thanks for the heads up.
I was using org.apache.lucene.search.FilteredQuery which says it applies a
filter to an executed query. I instantiate (sorry if my lexicon is off) a
FilteredQuery and pass my filter and the boolean query to the constructor.
What I think should happen is that the
il: u...@thetaphi.de
> -Original Message-
> From: James Nolan [mailto:nolansolrlistse...@gmail.com]
> Sent: Friday, July 13, 2012 7:26 PM
> To: java-user@lucene.apache.org
> Subject: FilteredQuery returning entire index
>
> Hello All!
>
> I'm trying to run a Filt
etSpans. I have a Filter I can apply if I just search with
> the query, but I don't see a way to apply the filter and still use the
> getSpans method. I thought maybe FilteredQuery looked promising, but of
> course if I wrap my SpanQuery and Filter in a FilteredQuery, getSpans is
al Message
> From: German Kondolf <[EMAIL PROTECTED]>
> To: java-user@lucene.apache.org
> Sent: Monday, August 25, 2008 4:58:00 PM
> Subject: Re: FilteredQuery
>
> Exactly as Otis sais, you should use MatchAllDocs as query, but it has a
> drawback in performance, it checks
AllDocs query?
>
>
> Otis
> --
> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>
>
>
> - Original Message
> > From: Heiko <[EMAIL PROTECTED]>
> > To: java-user@lucene.apache.org
> > Sent: Monday, August 25, 2008 11:29:22 AM
> &
lucene.apache.org
> Sent: Monday, August 25, 2008 11:29:22 AM
> Subject: FilteredQuery
>
> Hi All,
>
> i would like to use the FilteredQuery to filter my search results with
> the occurrence or absence of certain ids.
>
> Example A:
> query -> text:"albert einstei
ust search with
the query, but I don't see a way to apply the filter and still use the
getSpans method. I thought maybe FilteredQuery looked promising, but of
course if I wrap my SpanQuery and Filter in a FilteredQuery, getSpans is no
longer available.
Any suggestions?
Hi All,
i would like to use the FilteredQuery to filter my search results with
the occurrence or absence of certain ids.
Example A:
query -> text:"albert einstein"
filterQuery -> doctype:letter
That's ok. I am getting the expected results. But i got no results, if
i filte
: filter, I need to query all the index checking if the value of field
: name "path" is a prefix or not.
:
: There's a way to do that query without having to retrieve all the
: Document instances from the index?
Yep, you're definitely on the right track. You don't need to retrieve any
documents a
Hi all!!
I'm using PrefixQuery in my search application and I get TooManyClauses.
I have found many information about this problem and the solutions seems
to be the use of a FilteredQuery.
Now, I'm trying to write my Filter ...
Well, the problem is that when i try to write the "bi
least, the testcase i submitted now passes.
if you could ammend my test case with more examples of the types of
complex combinations of FilteredQuery/BooleanQuery that you've seen fail
(or add a new testcase file that works in a similar way, against a self
contained RAMDirectory based index) i
e --
or at least, the testcase i submitted now passes.
if you could ammend my test case with more examples of the types of
complex combinations of FilteredQuery/BooleanQuery that you've seen fail
(or add a new testcase file that works in a similar way, against a self
contained RAMDirectory
riginal Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Hostetter
Sent: Friday, April 01, 2005 7:53 PM
To: java-user@lucene.apache.org
Subject: Re: FilteredQuery and Boolean AND
Peter's problem intrigued me, so I wrote my own test case using two
simple
Filters
Bugged...
http://issues.apache.org/bugzilla/show_bug.cgi?id=34279
: : > BooleanQuery q2 = new BooleanQuery();
: : > TermQuery tq = new TermQuery(new Term("all_entries", "y"));
: : > FilteredQuery fq = new FilteredQuery(tq, ft);
: : > FilteredQuery fq2 = new Filt
airly
inefficinent way of approaching hte problem in general, instead of:
BooleanQuery containing:
a) FilteredQuery wrapping:
Query for "all" -- filtered by -- RangeFilter #1
b) FilteredQuery wrapping:
Query for "all" -- filtered by -- RangeFilter #2
...it
ks. Although it may
work since the book only has one filtered query, but what if you made
them both filtered queries and ANDed them?
Thanks,
Peter
-Original Message-
From: Kipping, Peter [mailto:[EMAIL PROTECTED]
Sent: Friday, March 25, 2005 10:34 AM
To: java-user@lucene.apache.org
Subjec
the book only has one filtered query, but what if you made
them both filtered queries and ANDed them?
Thanks,
Peter
-Original Message-
From: Kipping, Peter [mailto:[EMAIL PROTECTED]
Sent: Friday, March 25, 2005 10:34 AM
To: java-user@lucene.apache.org
Subject: FilteredQuery and Boolean AND
I have the following query structure:
BooleanQuery q2 = new BooleanQuery();
TermQuery tq = new TermQuery(new Term("all_entries", "y"));
FilteredQuery fq = new FilteredQuery(tq, ft);
FilteredQuery fq2 = new FilteredQuery(tq, ft2);
q2.add(fq, false, false);
q2.add(fq2, fal
21 matches
Mail list logo