Hello,
I would like to add RAMDirectory to another machines' FSDirectory
Can I treat a RAMDirectory as Serializable ?
I found RAMDirectory and Serializable discussion a long time ago in the dev
list.
But I cound find the answer.
Thanks.
Youngho
Exceptions didn't work as you need to implement the HitCollector class. Its
method "collect" doesn't throw any exceptions and I don't want to rewrite
anything of Lucene, so I'm using "searcher.close()" instead:
public class TimedHitCollector extends HitCollector
{
private Searcher searcher;
You could always create a subclass of RuntimeException and throw and catch
this instead.
"Kunemann Frank" <[EMAIL PROTECTED]> wrote on 09/09/2005
10:01:56:
> Exceptions didn't work as you need to implement the HitCollector
> class. Its method "collect" doesn't throw any exceptions and I don'
You live and learn. :)
Thanks! This really solves the problem.
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 9. September 2005 11:12
An: java-user@lucene.apache.org
Betreff: Re: AW: cancel search
You could always create a subclass of
Hi Chris,
Here is an approach which works based on the quantity
of matching terms in an adapted BooleanQuery:
http://issues.apache.org/bugzilla/show_bug.cgi?id=35284
Paul makes an interesting obversation at the end which
shows how this functionality can be added to the
existing BooleanQuery witho
How do you pronounce Plucene, a Perl port of Lucene?
I think we can pronounce it as [p-lucene] or [plucene].
--
Cheolgoo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
i want to ask, if i delete documents from index with delete(int i)
does the IndexReader delete the terms of this document from index??
thanks in forward
Bye
--
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++
---
Hi,
I want to map RAMDirectory to a database via Hibernate.
Any ideas on how to do this properly?
I thought of using JDBCDirectory for this, but I need to support more
databases than MySQL and PostgreSQL.
Many thanks,
Peter
-
To
Nope. The IndexReader simply sets a bit in a separate bitvector that marks
the doc as deleted. All info associated with the document are removed after
an IndexWriter merges the segment containing that doc with another (optimize
will merge all segments and hence remove remnants of all deleted doc
>just to clarify, i ment take the call to getMoreDocs(50) which is
>currently in the Hits constructor, and refactor it out and into the
>"Searcher.search" methods. that way the behavior is hte same as before
>for all existing clients, but new subclasses cna change the behavior so
>that hte "search
Hello Cheolgoo,
I always pronounce the "plu" part as "plu" in the word "plus", and
"cene" as the word "seen". Something like pluseen. But you could also
ask on the Plucene mailing list, maybe they pronounce it differently.
Otis
--- Cheolgoo Kang <[EMAIL PROTECTED]> wrote:
> How do you pronou
Hi Youngho,
--- Youngho Cho <[EMAIL PROTECTED]> wrote:
> I would like to add RAMDirectory to another machines' FSDirectory
> Can I treat a RAMDirectory as Serializable ?
>
> I found RAMDirectory and Serializable discussion a long time ago in
> the dev list. But I cound find the answer.
I recall
I know this question has been asked before, but I'm not certain of what
would work best for my scenario. So here goes...
I have an index with documents that carry a broad number of keyword fields,
usually containing numeric Ids (no sorting, so no leading zeros). From a set
of search results, I
Hi,
I am testing the speed of searching Lucene indexes. The index is of
the larger size! It has about 500,000 documents, about 60 fields with
1 field (Field1) containing the body of the document. Total index
size is currently about 20Gb
Testing the search i get this behaviour
(Field2:1) AND (F
Well, by changing your query, you are changing your criteria, so I
assume you also got different (less) results. That's one reason why
your query got faster.
If index size is the issue, and that Field1 consumes most of it, and
you are not using it in search (I don't see it in your sample query),
e
Sounds like a job for a Filter and CachingWrapperFilter (see
http://www.lucenebook.com/search?query=caching+filter ). Chris
Hostetter wrote a nice email about how he did this for C|Net maybe 1-2
weeks ago. Should be in the mailing list archives.
Otis
--- Jeff Rodenburg <[EMAIL PROTECTED]> wrote
I would say 'plu' as in Pluto because Lucene sounds like LouSeen,
unless I've been saying it wrong and Lucene should sound like LusSeen,
it which case it would be 'plu' like 'plus'.
On 9/9/05, Otis Gospodnetic <[EMAIL PROTECTED]> wrote:
> Hello Cheolgoo,
>
> I always pronounce the "plu" part as
Ah, sorry, I was thinking of "plus" in the wrong language. Weird.
Yes, that's "plu" as in "Pluto".
Otis
--- Thomas Lepkowski <[EMAIL PROTECTED]> wrote:
> I would say 'plu' as in Pluto because Lucene sounds like LouSeen,
> unless I've been saying it wrong and Lucene should sound like
> LusSeen,
Hi,
I'm putting together a cheap indexing server for an "explorative" lucene
project and had a few questions about which route to go.
I am going with a Socket 939 platform - does it make sense to get the
dual core Athlon 64 X2, or is it better to stick with a faster clocked
"plain" Athlon 64?
Al
: Here is an approach which works based on the quantity
: of matching terms in an adapted BooleanQuery:
:
: http://issues.apache.org/bugzilla/show_bug.cgi?id=35284
Doh! ... I should really start paying attention to the stuff in SVN, I
didn't even know there was a DisjunctionSumScorer -- this is e
Hi Otis,
Thanks for your reply.
Youngho.
- Original Message -
From: "Otis Gospodnetic" <[EMAIL PROTECTED]>
To: ; "Youngho Cho" <[EMAIL PROTECTED]>
Sent: Saturday, September 10, 2005 12:33 AM
Subject: Re: RAMDirectory and Serializable
> Hi Youngho,
>
> --- Youngho Cho <[EMAIL PROTECT
Hello,
I would like to add RAMDirectory to another machines' FSDirectory
Is there any good way ?
Thanks,
Youngho
Isn't the trouble with introducing a scoring threshold based on raw
scores that the Similarity scoring mechanism is considering each
document in isolation? At this stage we don't know if the query is
generally a good one or not (ie spelt correctly, and not a Googlewhack
combination of rarely co
Save it to disk using FSDirectory, zip the index directory, and copy it
to the remote host over the socket. There is no built-in Lucene-way of
doing this. You can also simply scp the index directory or use
whatever other file transfer protocol suits you.
Otis
--- Youngho Cho <[EMAIL PROTECTED]>
Hello Otis,
Thanks alot !.
I will try.
Thanks again,
Youngho
- Original Message -
From: "Otis Gospodnetic" <[EMAIL PROTECTED]>
To: ; "Youngho Cho" <[EMAIL PROTECTED]>
Sent: Saturday, September 10, 2005 10:59 AM
Subject: Re: RAMDirectory add index with other machine FSDirectory
> Sav
Cause the RAMDirectory is not serializable, it's hard to send a index
to a remote computer. I think it's kind of tricky, but it would work.
1. Create a fresh new IndexWriter(let's name it toTransfer) with
temporary FSDirectory, /usr/tmp/some/directory for example.
2. Invoke the toTransfer.addIndex
Thank you! Otis and Thomas.
On 9/10/05, Otis Gospodnetic <[EMAIL PROTECTED]> wrote:
> Ah, sorry, I was thinking of "plus" in the wrong language. Weird.
> Yes, that's "plu" as in "Pluto".
>
> Otis
>
> --- Thomas Lepkowski <[EMAIL PROTECTED]> wrote:
>
> > I would say 'plu' as in Pluto because Lu
27 matches
Mail list logo