Re: RAMDirectory and Hibernate

2005-11-16 Thread Peter Gelderbloem
on this design would be appreciated. Kind regards Peter Gelderbloem -Original Message----- From: Peter Gelderbloem [mailto:[EMAIL PROTECTED] Sent: 11 November 2005 15:07 To: java-user@lucene.apache.org Subject: Re: RAMDirectory and Hibernate Martijn, Sorry for the late reply. I've be

Re: RAMDirectory and Hibernate

2005-11-11 Thread Peter Gelderbloem
ECTED] Sent: 29 October 2005 17:27 To: Peter Gelderbloem Cc: java-user@lucene.apache.org Subject: Re: RAMDirectory and Hibernate Peter, Have you had any success yet on this particular approach? regards, Martijn Peter Gelderbloem wrote: >Hi, >I want to map RAMDirectory to a database via Hibe

FW: Issue with sounds-like queries

2005-09-28 Thread Peter Gelderbloem
: Peter Gelderbloem; java-user@lucene.apache.org Subject: RE: Issue with sounds-like queries Hi, The reason I'm using sounds-like queries is that this search feature will be used by our lobby staff(s), who'll be of different nationalities. No two users may spell the place name the same way

RE: Issue with sounds-like queries

2005-09-28 Thread Peter Gelderbloem
May be you should not be using sounds like queries in the first place? They are supposed to be fuzzy afaik. -Original Message- From: Jayakumar.V [mailto:[EMAIL PROTECTED] Sent: 27 September 2005 14:54 To: java-user@lucene.apache.org Subject: Issue with sounds-like queries Hi, I'm fac

Lucene trunk update question. WAS RE: search performance enhancement

2005-09-22 Thread Peter Gelderbloem
I noticed you posted links to bits of code below. How and when will these be made part of the svn trunk? It seems universally useful and I think should be the default behaviour. Peter Gelderbloem -Original Message- From: Paul Elschot [mailto:[EMAIL PROTECTED] Sent: 21 September 2005 19

How do I implement "find documents like document x."

2005-09-19 Thread Peter Gelderbloem
. The system would eventually build up a set of documents for each category to match against. Peter Gelderbloem - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RAMDirectory and Hibernate

2005-09-09 Thread Peter Gelderbloem
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

RE: Switching from FSDirectory to RAMDirectory

2005-09-07 Thread Peter Gelderbloem
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

Switching from FSDirectory to RAMDirectory

2005-09-06 Thread Peter Gelderbloem
Hi, I find that unit tests that modify an existing record in the Lucene index by removing it , modifying it and re-adding it, fails if I switch from an FSDirectory to a RAMDirectory. This code gives me a Directory that works: FSDirectory fsDirectory = FSDirectory.getDirectory(physicalDirectoryNam

Lucene + Persistence

2005-08-30 Thread Peter Gelderbloem
queries as criteria with Lucene queries? Thanks, Peter Gelderbloem - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Case-sensitive search

2005-08-19 Thread Peter Gelderbloem
I don't really need this at the moment, but need to know: Is it conceivable to make a configurable analyzer with dynamically added filters? Peter -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: 19 August 2005 01:50 To: java-user@lucene.apache.org Subject: Re: Case-

RE: OutOfMemory error when searching

2005-08-19 Thread Peter Gelderbloem
Hi, I foresee that I may run into similar problems as I am opening and closing IndexSearchers all over the place. Unfortunately I do not see a way to keep the IndexSearcher open as indexing occurs at random times in my system and the searches need to be current. Any suggestions on how to reuse th

RE: Quick newbie question

2005-07-27 Thread Peter Gelderbloem
I wonder what would happen Peter Gelderbloem -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: 27 July 2005 17:36 To: java-user@lucene.apache.org Subject: Re: Quick newbie question On Jul 27, 2005, at 12:22 PM, Andrew Boyd wrote: > Of course you can do the inve

RE: Using QueryParser with a single field

2005-07-21 Thread Peter Gelderbloem
I think it would be better in this case to not use QueryParser. It is not designed for your situation. Build the query using BooleanQuery instead. Peter Gelderbloem - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Best Practices for Distributing Lucene Indexing and Searching

2005-07-18 Thread Peter Gelderbloem
update the local index. What is the purpose behind the nutch mapreduce component? Would it be useful for me to look at it in order to better decompose the indexer component? Cheers, Peter Gelderbloem - To unsubscribe, e-mail: [EMAIL

RE: Best Practices for Distributing Lucene Indexing and Searching

2005-07-14 Thread Peter Gelderbloem
I am currently looking into building a similar system and came across this architecture: http://www.eecs.harvard.edu/~mdw/proj/seda/ I am just reading up on it now. Does anyone have experience building a lucene system based on this architecture? Any advice would be greatly appreciated. Peter

RE: Query.toString(0 does not escape special characters

2005-05-25 Thread Peter Gelderbloem
Yeah, That works Thanks Peter Gelderbloem -Original Message- From: Chris Lamprecht [mailto:[EMAIL PROTECTED] Sent: 24 May 2005 18:16 To: java-user@lucene.apache.org Subject: Re: Query.toString(0 does not escape special characters Hi Peter, See the method escape(String s) of QueryParser

Query.toString(0 does not escape special characters

2005-05-24 Thread Peter Gelderbloem
Hi, I am building queries using the query api and when I use } in my fieldname and then call toString on the query, QueryParser throws a ParseException when trying to parse it. How do I fix this? Regards Peter Gelderbloem - To

Lucene and J2EE transactions

2005-04-21 Thread Peter Gelderbloem
Hi, I am looking to get Lucene to participate in a JTA transaction. What would be the best way to do this? I am thinking maybe use a message queue that feeds an indexing thread/message driven bean with add update and delete information. Or maybe using a subclass of Directory that uses a relational