Hello,
I have an index into which documents get added and updated (by deleting and
adding). When I run queries on the index these have to take into account
all changes on the index so I open a new IndexReader. What I am finding is
that when the index is large the opening of the index takes a c
Sorry for that offtopic message but does anyone has experiences with the
aslib cranfield test collection or does anyone know where i can get it?
thanks in advance
stefan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
On Wednesday 07 September 2005 10:44, [EMAIL PROTECTED]
wrote:
> account all changes on the index so I open a new IndexReader. What I am
> finding is that when the index is large the opening of the index takes a
> considerable time with the effect that queries appear to take a long
> time to run.
http://www.javamug.org has a Lucene seminar.
So if you are in Dallas
Unrelated: Here is yet another example of using (free) roomity (that uses
lucene) to do a search for "JSF", click
http://roomity.com/launch.jsp?search=jsf
.V
-
On Sep 7, 2005, at 7:03 AM, netsql wrote:
http://www.javamug.org has a Lucene seminar.
So if you are in Dallas
Thanks for the announcement :) See ya there!
Erik
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
Hi,
HitCollector sounds very interesting - do you have an example for how to use it?
Frank
-Ursprüngliche Nachricht-
Von: Otis Gospodnetic [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 7. September 2005 05:28
An: java-user@lucene.apache.org
Cc: Murray Altheim
Betreff: Re: limit return r
Look at the code that comes with Lucene in Action. Here are
references, page numbers, etc.:
http://www.lucenebook.com/search?query=hitcollector
Otis
--- Kunemann Frank <[EMAIL PROTECTED]> wrote:
> Hi,
>
> HitCollector sounds very interesting - do you have an example for how
> to use it?
>
You normally just can't break out of the HitCollector and get meaningful
results. The problem is that you get unordered (or rather index order)
results from a HitCollector, not ordered by score or any sort. To get the
highest 100 docs by score, you normally need to see *all* the hits.
On 9/6/05
I got it working,
and the off-the-top-of-your-head answer was the right one.
Thanks
Peter Gelderbloem
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Hostetter
Sent: 06 September 2005 18:53
To: java-user@lucene.apache.org
Subject: Re: Switching f
The reason that I want to limit returned result is that I do not want
to get out of memory problem. I index lucene with 3 million documents.
Sometimes, searching will return millions of fields back to me. I just
want to get the first 100, for example , to show them to user. Even, I
use search(query
The Hits object retrieves the documents lazily, so just ask it for the first
100.
-Yonik
On 9/7/05, haipeng du <[EMAIL PROTECTED]> wrote:
>
> The reason that I want to limit returned result is that I do not want
> to get out of memory problem. I index lucene with 3 million documents.
> Sometime
The best advice I can give on this topic is don't open a new IndexReader
for every search. There is a lot of caching that goes on under the
covers (particularly when you sort by things other then SCORE) which is
completely wasted if you open a new IndexReader everytime. If you use
Filters, then
Hi
I have a general question about the cost of creating MultiSearchers. Suppose
you have created a MultiSearcher using a large number of IndexSearchers,
let's exaggerate to highlight the issue and assume we put an array of 100
IndexSearchers over large indexes in the MultiSearcher constructor.
Hallo,
IBecause of less or better say no experience in Ant I try to run some demo
applications out of the LuceneInAction Examples folder. For example I wanted to
test AnalyzerDemo.java. I set the -classpath c:/LuceneInAction/lia/analysis
because there is AnalyzerDemo.java on my system. I tried
Hi Gasi,
Please see page xxxii in LIA, section Author Online, and use that for
LIA questions, so we don't bother others with LIA-specific stuff.
However, your problem doesn't have to do so much with LIA, either.
It's a basic Java question, and it looks like the part that you have
been misunderst
Hi,
I am trying to work through the Hit collection process for a
PhraseQuery (using an exact phrase). For an example search, say I'm
looking for:
"lucene action" (quotes indicating exact phrase)
in a one doc, one field index consisting of:
wow, lucene rocks, lucene action items are cool, v
16 matches
Mail list logo