Re: How do Lucene applications deal with API changes?

2004-11-03 Thread sergiu gordea
Bill Janssen wrote: Thanks to Bill Tschumy, who points out that Lucene 1.4.21 *breaks* the API exported by 1.4 by removing a parameter from QueryParser.getFieldQuery(). That means that my NewMultiFieldQueryParser also breaks, since it overrides that method. To fix, just remove the Analyzer

Re: Searchable Solutions Please

2004-11-03 Thread Erik Hatcher
On Nov 2, 2004, at 11:15 PM, Karthik N S wrote: If the Search Word 'kid' is suppose to return me kid , kid's , kidoos, children 1) Do I need to use Combination of more then one Analysers ??? , If so How. 2) Any Alternate modification to be done for the simple Searcher

RE: jaspq: dashed numerical values tokenized differently

2004-11-03 Thread Daniel Taurat
-Original Message- From: Morus Walter [mailto:[EMAIL PROTECTED] Sent: Dienstag, 2. November 2004 09:21 To: Lucene Users List Subject: Re: jaspq: dashed numerical values tokenized differently Daniel Taurat writes: Hi, I have just another stupid parser question: There seems to be a

Re: jaspq: dashed numerical values tokenized differently

2004-11-03 Thread Erik Hatcher
On Nov 3, 2004, at 5:03 AM, Daniel Taurat wrote: Query parser was changed to treat '-' within words as part of the word. Before that change a query 'dash-test' was parsed as 'dash AND NOT test'. Now QP reads one word 'dash-test' which is analyzed. If the analyzer splits that to more than one

RE: jaspq: dashed numerical values tokenized differently

2004-11-03 Thread Daniel Taurat
-Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 3. November 2004 13:39 To: Lucene Users List Subject: Re: jaspq: dashed numerical values tokenized differently On Nov 3, 2004, at 5:03 AM, Daniel Taurat wrote: Query parser was changed to treat

Re: jaspq: dashed numerical values tokenized differently

2004-11-03 Thread Erik Hatcher
On Nov 3, 2004, at 8:51 AM, Daniel Taurat wrote: Now my only question is, why the tokenizing works differently for strings with numerical components, or if there is a way to make the standardAnalyzer treat those dashed mixed-characters strings similar to plain letter-strings. Give me an example of

Question about multi-searching

2004-11-03 Thread Cocula Remi
Hi, (First of all : what is the plurial of index in english ; indexes or indices ?) I want to search into several indexes (indices ?). For that, I parse a new query using QueryParser or MultiFieldQueryParser. Then I search my indexes using the MultiSearcher class. Ok, but the problem comes

RE: jaspq: dashed numerical values tokenized differently

2004-11-03 Thread Daniel Taurat
Give me an example of a string and how you'd like it to be tokenized. But first, give the AnalyzerUtils (from my java.net article) a try and get a feel for what different analyzers do. Keep in mind that it can be tricky (see the AnalysisParalysis page on the wiki and my java.net article

Re: jaspq: dashed numerical values tokenized differently

2004-11-03 Thread Erik Hatcher
On Nov 3, 2004, at 10:21 AM, Daniel Taurat wrote: Checked with Luke on the string dash\-123\-01 and got dash 123 01 with germanAnalyzer and standardAnalyzer and dash with all the other, except for whitespaceAnalyser, of course. This makes me think that an escaped dash is never a minus, somehow. No

RE: jaspq: dashed numerical values tokenized differently

2004-11-03 Thread Daniel Taurat
Mit freundlichen Grüßen Dr. Daniel Taurat Senior Consultant VIP ENTERPRISE 8 | THE POWER OF CONTENT AT WORK Gauss Interprise AG Phone:

IndexReader.close() do not flush deletions

2004-11-03 Thread jean kon-sun-tack
1) Open index with IndexReader.open() 2) Check that (for example) numDocs = 10, hasDeletions = false 3) Delete one document 4) Close IndexReader with IndexReader.close() 5) Open index with IndexReader.open() 6) Check that (for example) numDocs = 9, hasDeletions = true 7) Iterate with

using lucene as a dictionary database?

2004-11-03 Thread aurora
Besides full text indexing, I need a database that represent a large dictionary like: (key1, key2) - docid I am considering between building a home grown solution and using Berkeley DB. Then I think I was using Lucene anyway, wouldn't it make sense use it as my database too? Just make key1 and

RE: Faster highlighting with TermPositionVectors

2004-11-03 Thread Aviran
Did anyone tried this class ? I tried this class but I can't make it to work I indexed a field as new Field(description, description,true,true,true,true); but when I call TokenSources.getTokenStream(_indexReader,i,description); I get ClassCastException In this class the line TermPositionVector

searchbean example + servlet

2004-11-03 Thread Miro Max
Hi all, where can i find the servlet for the searchbean classes? thé directory on cvs is now empty ciao miro ___ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden:

hasFieldFilter contribution

2004-11-03 Thread Nicolas Maisonneuve
I developeda Filter that restricts search results to documents that has terms in specific fields (because currently we can't search with lucene documents with this kind of feature (a document with present/absent of values in specific fields) nicolas package org.apache.lucene.search;

sorting by score and an additional field

2004-11-03 Thread Chris Fraschetti
I mailed on this a while back, but am still at a loss. Has anyone had any luck using lucene's built in sort functions to sort first by the lucene hit score and secondarily by a Field in each document indexed as Keyword and in integer form? I can only get it to sort by one or the other... but

Re: searchbean example + servlet

2004-11-03 Thread Erik Hatcher
As far as I know, there was no servlet that came with SearchBean. SearchBean is basically deprecated at this point - the new sorting features do sorting much nicer. SearchBean is still in the jakarta-lucene-sandbox CVS under contributions/searchbean directory. Erik On Nov 3, 2004, at