RE: Database File Store (SQLDirectory?)

2005-10-26 Thread Steven Pannell
now. Steve. -Original Message- From: Volodymyr Bychkoviak [mailto:[EMAIL PROTECTED] Sent: 26 October 2005 16:31 To: java-user@lucene.apache.org Subject: Re: Database File Store (SQLDirectory?) Hi. Try to search for JDBCDirectory... Steven Pannell wrote: > Hi, > > I'm look

RE: Indexing and deleting simultaneously..

2005-12-27 Thread Steven Pannell
Hi, Basically you can update/delete and read an index simultaneously. When you start to read the index and then update/delete the index, the current read process will continue reading with the old data before the delete took place. A little bit like a transaction on the database. You don't have

Boolean Query

2005-12-28 Thread Steven Pannell
Hi, I want to create a boolean query like: 'book' AND ( 'fred' OR 'ginger') Anyone know how I can do the above in a BooleanQuery. I tried this: but it does not work. TermQuery t1 = new TermQuery(new Term("type","book")); TermQuery t2 = new TermQuery(new Term("author","fred"));

RE: QueryParser over multiple fields

2005-12-29 Thread Steven Pannell
Hi, You can also do it like this: QueryParser.parse("(summary:DOG OR title:DOG)", "title", getAnalyzer()); QueryParser.parse("(summary:DOG AND title:DOG)", "title", getAnalyzer()); The "title" is the default column, so no need to reference in the queryString eg: QueryParser.parse("(summary:DOG

how to handle plurals

2006-01-03 Thread Steven Pannell
Hi, Does anyone know how I can handle plurals in lucene. If I search for dog and then dogs I get two different search results. I would like the same results regardless of the plural. Can this be done?? thanks, Steve. - To un

RE: Switching default parsing for Or and AND

2006-01-03 Thread Steven Pannell
You can do this, for example: QueryParser queryParser = new QueryParser(defaultField, new StandardAnalyzer()); queryParser.setOperator(QueryParser.DEFAULT_OPERATOR_AND) -Original Message- From: Mike Streeton [mailto:[EMAIL PROTECTED] Sent: 03 January 2006 12:48 To: java-user

SoundEx

2006-01-18 Thread Steven Pannell
Hi, Does anyone know if there is a SoundEx analyzer implementation available for lucene??? thanks. Steve, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Database File Store (SQLDirectory?)

2005-10-26 Thread Steven Pannell
Hi, I'm looking to try and store my index into an oracle database. Has anyone done this before? I did find something in the archive referring to the SQLDirectory.java file by Marc Kramis. But there does not seem to be any download or further references to this implementation. Does anyone have i