Re: flushing index

2010-09-27 Thread Yakob
On 9/27/10, Uwe Schindler wrote: > > > Yes. You must close before, else the addIndexes call will do nothing, as the > index looks empty for the addIndexes() call (because no committed segments > are available in the ramDir). > > I don't understand what you mean with flushing? If you are working on

Re: Questions about Lucene usage recommendations

2010-09-27 Thread Danil ŢORIN
You said you have 1000 fields...when performing search do you search in all 1000 fields? That could definitely be a major performance hit, as it translates to a BooleanQuery with 1000 TermQueries inside Maybe it make sense to concat data from fields that you search in fewer fields (preferably ONE)

RE: Save 45% and Join the Search Revolution!

2010-09-27 Thread Fuad Efendi
Sorry about previous Email if it was delivered 'weird'; one is Ok, another one is crazy, and there is difference between DEV and JAVA-USER in mail delivery settings (HTML). but I can't find which one was wrong.

FW: Save 45% and Join the Search Revolution!

2010-09-27 Thread Fuad Efendi
Click here to view in your browser.

Re: Is it a bug in Lucene?

2010-09-27 Thread Grant Ingersoll
Hi Paulo, The mailing list strips attachments. Can you just cut and paste it into the email? -Grant On Sep 27, 2010, at 8:45 AM, paulo...@terra.com.br wrote: > > Hi, > I did a test to understand the use of '*' and '?'. > > If I use StandardAnalyzer I have espected results but,

Re: Fuzzy Phrase

2010-09-27 Thread Ahmet Arslan
> I want to > use just one string like -- head:"hello~ world"~3 AND > contents:"colorless~ > green~ ideas~". > > When I this string query within ComplexPhraseQuery, I get > the exception: > -- ParseException: Cannot parse 'hello~ world': Cannot > have clause for > field "content" nested in phras

RE: Questions about Lucene usage recommendations

2010-09-27 Thread Pawlak Michel (DCTI)
Hello, Thank you for your quick reply, I'll do my best to answer your remarks and questions (I numbered them to make my mail more readable.) Unfortunately, as I wrote, I have no access to the source code, and the company is not really willing to answer my questions (that's why we investigate)..

Re: Fuzzy Phrase

2010-09-27 Thread Karl Wettin
There is a SpanFuzzyQuery for Lucene 1.9 from 2006 in LUCENE-522. karl 27 sep 2010 kl. 00.19 skrev Fabiano Nunes: > Thank you, Schindler. > When combining queries, I need two strings, one for each field. I want to > use just one string like -- head:"hello~ world"~3 AND contents:"colorle

Is it a bug in Lucene?

2010-09-27 Thread paulocsc
Hi, I did a test to understand the use of '*' and '?'. If I use StandardAnalyzer I have espected results but, if a use BrazilianAnalyzer I have a mistake result. Junit is at the end. Thanks. Paulo Cesar cities in my Lucene data base=> {"Br

Re: Questions about Lucene usage recommendations

2010-09-27 Thread Danil ŢORIN
Lucene 2.1 is really old...you should be able to migrate to lucene 2.9 without changing your code (almost jar drop-in, but be careful on analyzers), and there could be huge improvements if you use lucene properly. Few questions: - what does "all data to be indexed is stored in DB fields" mean? you

Questions about Lucene usage recommendations

2010-09-27 Thread Pawlak Michel (DCTI)
Hello, We have an application which is using lucene and we have strong performance issues (on bad days, some searches take more than 2 minutes). I'm new to the Lucene component, thus I'm not sure Lucene is correctly used and thus would like to have some information on lucene usage recommendations.