Hi,
I know it is very easy to get the frequency of a given term using the
indexReader but I am looking to perform an index search and would like to get
the frequency of the given term in the result set. Is this possible?
Thanks in advance,
Paul
---
r limit of the number of matching
docs is, since I don't think there's any way to cause TermDocs.read to
return entries n through n+sizeofdocs. Try something like
termDocs.seek(new Term("advertiserId", advertiserId);
while (termDocs.next()) {
bits.set(termDocs.doc());
}
Hi,
I am going mad trying to find out what I am doing wrong with my custom filter
implementation (almost an exact copy of SpecialsFilter from LIA). I have put
together a quick sample to illustrate my problem, if some kind soul has 2
minutes to take a quick look and tell me where I am being so s
Erick Erickson <[EMAIL PROTECTED]> wrote:
> You were probably right. See below....
>
> On 9/25/06, Paul Lynch <[EMAIL PROTECTED]> wrote:
> >
> > Thanks for the quick response Erick.
> >
> > "index the documents in your preferred list with a
>
.
>
> I can imagine several variations on this scenario,
> but they depend on your
> problem space.
>
> Whether this is the "best" or not, I leave as an
> exercise for the reader.
>
> Best
> Erick
>
> On 9/25/06, Paul Lynch <[EMAIL PROTECTED]&
Hi All,
I have an index containing documents which all have a
field called SubId which holds the ID of the
Subscriber that submitted the data. This field is
STORED and UN_TOKENIZED
When I am querying the index, the user can cloose a
number of different ways to sort the Hits. The problem
is that I
Thanks for all the replies to my previous posting, I
was not subscribed to the list properly and did not
see all of the replies. Please disregard this post.
Thanks again,
Paul
--- Paul Lynch <[EMAIL PROTECTED]> wrote:
> Hi,
>
> have implemented the DistanceComparatorSource
&
Hi,
have implemented the DistanceComparatorSource example
from Lucene In Action (my Bible) and it works great.
We are now in the situation where we have nearly a
million documents in our index and the performance of
this implementation has degraded.
I have downloaded and am trying to understand t
Hi,
I have implemented the DistanceComparatorSource
example from Lucene In Action (my Bible) and it works
great. We are now in the situation where we have
nearly a million documents in our index and the
performance of this implementation has degraded.
I have downloaded and am trying to understand