Hi,
is there any way I can search for Documents that have a specific Field not set?
The use case is obvious: Consider you introduce a new field to your
documents but dont want to migrate all other documents,
how would you be able to write a Query that covers both old and new documents?
I was hop
wDocsOutOfOrder should improve
> performance since internally it will use BooleanScorer instead of
> BooleanScorer2.
>
> Mike
>
> On Wed, Sep 16, 2009 at 9:14 AM, Benjamin Pasero
> wrote:
>> Ah wow that sounds great. I am using 2.3.2 though (and have to use it
>>
Collector is passed a Scorer if they want to use it, but you can
> just ignore it.
>
> --
> - Mark
>
> http://www.lucidimagination.com
>
>
>
> Benjamin Pasero wrote:
>> Hi,
>>
>> I am using Lucene not only for smart fulltext searches but also fo
Hi,
I am using Lucene not only for smart fulltext searches but also for
getting the results for a DB-like query, where I am not tokenizing the
terms at all. For this query, I am interested in all results and for
that
I am using my own HitCollector.
Now, while profiling I noticed that quite some t
soon as
the keywords field is exhausted.
}
Your code examines all the terms in the index. Mine only looks at
terms in
the keywords field. Which is what you said you wanted. That combined with
docfreq might be what you need.
Erick
On 6/11/07, Benjamin Pasero <[EMAIL PROTECTED]>
if (! term.field().equals("keyword")) {
break;
}
System.out.println(term.text());
}
On 6/10/07, Benjamin Pasero <[EMAIL PROTECTED]> wrote:
Erick Erickson wrote:
> Um, to return all counts of all terms in a field, what other option
>
a TermVector from
the keyword-field. But I guess TermVectors are only supported on a per
Document level and not index level?
Regards,
Ben
Best
Erick
On 6/9/07, Benjamin Pasero <[EMAIL PROTECTED]> wrote:
Hi,
I wonder if this is possible:
Return all Terms of a Field in the Index together wi
Hi,
I wonder if this is possible:
Return all Terms of a Field in the Index together with the number of
occurances
in all documents.
E.g. have 10 Documents with the Field "author" in the index, 5 of them
having
the value "foo" and 5 "bar" I would like to build a map with:
[foo] -> 5
[bar] -> 5
Hi,
I have two different use-cases for my queries. For the first,
performance is not too critical
and I want to sort the results by relevance (score). The second however,
is performance critical,
but the score for each result is not interesting. I guess, if it was
possible to disable scoring
for