Problems with Lucene and BrazilianAnalyzer (lucene-core-4.9.0.jar and lucene-analyzers-common-4.9.0.jar): Search returning more results that the desired

2015-03-25 Thread Humberto Rocha
Hi I'm indexing 4 .txt files using: -Lucene (lucene-core-4.9.0.jar) -BrazilianAnalyzer (lucene-analyzers-common-4.9.0.jar) The files have the following content: - File A: tecnológico - File B: tecnologico - File C: tecnologias - File D: tecnolo For the search used as well: - Lucene (lucene-core-

Re: Problems with Lucene and Solr

2014-01-24 Thread Doug Turnbull
Hey Vishnu, I'm trying to understand what you're trying to accomplish (cc'ing Lucene user group to solicit additional advice) Are you trying to extract all the terms for a given document? If so, you might just want to enable term vectors to analyze the index terms for the document. -Doug On Fri

Re: Problems with Lucene 3.0.2 and Java 1.6.0_12

2010-08-19 Thread Michael McCandless
Phew... thanks for bringing closure! And, good sleuthing. So the takeaway is JRE 1.6.0_12 = BAD and JRE 1.6.0_21 = GOOD. Mike On Wed, Aug 18, 2010 at 10:48 PM, Nader, John P wrote: > > This is a follow up related to my original post Term browsing performance > problems with our upgrade to Luc

Problems with Lucene 3.0.2 and Java 1.6.0_12

2010-08-18 Thread Nader, John P
This is a follow up related to my original post Term browsing performance problems with our upgrade to Lucene 3.0.2. The suggestions were helpful and did give us a performance increase. However, in a full scale environment under load our performance issue remained a problem. Our investig

RE: Performance problems with Lucene 2.9

2009-11-30 Thread Uwe Schindler
0, 2009 6:37 PM > To: java-user@lucene.apache.org > Subject: Re: Performance problems with Lucene 2.9 > > The problem with this method is that I won't be able to know how many > total > results / pages a search have? > > For example if I do a search X that returns 1,00

Re: Performance problems with Lucene 2.9

2009-11-30 Thread Michel Nadeau
; > > useful, because the first 200 hits cannot be ranked. > > > > > > > > - > > > > Uwe Schindler > > > > H.-H.-Meier-Allee 63, D-28213 Bremen > > > > http://www.thetaphi.de > > > > eMail: u...@thetaphi.de > > >

RE: Performance problems with Lucene 2.9

2009-11-30 Thread Uwe Schindler
ot be ranked. > >> > > >> > - > >> > Uwe Schindler > >> > H.-H.-Meier-Allee 63, D-28213 Bremen > >> > http://www.thetaphi.de > >> > eMail: u...@thetaphi.de > >> > > >> > > -Original Message-

RE: Performance problems with Lucene 2.9

2009-11-30 Thread Uwe Schindler
st 200 hits cannot be ranked. > > > > > > - > > > Uwe Schindler > > > H.-H.-Meier-Allee 63, D-28213 Bremen > > > http://www.thetaphi.de > > > eMail: u...@thetaphi.de > > > > > > > -Original Message- > > >

Re: Performance problems with Lucene 2.9

2009-11-30 Thread Michel Nadeau
esults, TopDocs is not >> > very >> > useful, because the first 200 hits cannot be ranked. >> > >> > - >> > Uwe Schindler >> > H.-H.-Meier-Allee 63, D-28213 Bremen >> > http://www.thetaphi.de >> > eMail: u.

Re: Performance problems with Lucene 2.9

2009-11-30 Thread Michel Nadeau
e > > eMail: u...@thetaphi.de > > > > > -Original Message- > > > From: Michel Nadeau [mailto:aka...@gmail.com] > > > Sent: Monday, November 30, 2009 5:35 PM > > > To: java-user@lucene.apache.org > > > Subject: Re: Performance proble

RE: Performance problems with Lucene 2.9

2009-11-30 Thread Uwe Schindler
009 5:35 PM > > To: java-user@lucene.apache.org > > Subject: Re: Performance problems with Lucene 2.9 > > > > I'll definitely switch to a Collector. > > > > It's just not clear for me if I should use BooleanQueries or > > MatchAllDocuments+Fi

RE: Performance problems with Lucene 2.9

2009-11-30 Thread Uwe Schindler
0, 2009 5:35 PM > To: java-user@lucene.apache.org > Subject: Re: Performance problems with Lucene 2.9 > > I'll definitely switch to a Collector. > > It's just not clear for me if I should use BooleanQueries or > MatchAllDocuments+Filters ? > > And should I wri

Re: Performance problems with Lucene 2.9

2009-11-30 Thread Ian Lea
f you replace a relational database with Lucene, be sure not to >> > think >> > > in a relational sense with foreign keys / primary keys and so on. In >> > > general >> > > you should flatten everything. >> > > >> > > Uwe >

Re: Performance problems with Lucene 2.9

2009-11-30 Thread Michel Nadeau
u should flatten everything. > > > > > > Uwe > > > > > > ----- > > > Uwe Schindler > > > H.-H.-Meier-Allee 63, D-28213 Bremen > > > http://www.thetaphi.de > > > eMail: u...@thetaphi.de > > > > > > > > &g

Re: Performance problems with Lucene 2.9

2009-11-30 Thread Erick Erickson
n > > general > > you should flatten everything. > > > > Uwe > > > > - > > Uwe Schindler > > H.-H.-Meier-Allee 63, D-28213 Bremen > > http://www.thetaphi.de > > eMail: u...@thetaphi.de > > > > > > > -Ori

Re: Performance problems with Lucene 2.9

2009-11-30 Thread Michel Nadeau
t; Uwe > > - > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de > > > > -Original Message- > > From: Michel Nadeau [mailto:aka...@gmail.com] > > Sent: Monday, November 30, 2009 5:10 PM > > To:

RE: Performance problems with Lucene 2.9

2009-11-30 Thread Uwe Schindler
o: java-user@lucene.apache.org > Subject: Re: Performance problems with Lucene 2.9 > > What is the main difference between Hits and Collectors? > > - Mike > aka...@gmail.com > > > On Mon, Nov 30, 2009 at 11:03 AM, Uwe Schindler wrote: > > > And if you only hav

Re: Performance problems with Lucene 2.9

2009-11-30 Thread Michel Nadeau
w.thetaphi.de > eMail: u...@thetaphi.de > > > > -Original Message- > > From: Shai Erera [mailto:ser...@gmail.com] > > Sent: Monday, November 30, 2009 4:56 PM > > To: java-user@lucene.apache.org > > Subject: Re: Performance problems with Lucene 2.9 > > >

Re: Performance problems with Lucene 2.9

2009-11-30 Thread Michel Nadeau
Hi ! Thanks so much !! * I'll check the documentation for MatchAllDocsQuery. * I'm already changing my code to create BooleanQueries instead of filters - is that better than MatchAllDocsQuery or it's the same? * Is using MatchAllDocsQuery the only way to disable scoring? * Would you have any good

RE: Performance problems with Lucene 2.9

2009-11-30 Thread Uwe Schindler
.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Shai Erera [mailto:ser...@gmail.com] > Sent: Monday, November 30, 2009 4:56 PM > To: java-user@lucene.apache.org > Subject: Re: Performance problems with Luc

Re: Performance problems with Lucene 2.9

2009-11-30 Thread Shai Erera
Hi First you can use MatchAllDocsQuery, which matches all documents. It will save a HUGE posting list (TAG:TAG), and performs much faster. For example TAG:TAG computes a score for each doc, even though you don't need it. MatchAllDocsQuery doesn't. Second, move away from Hits ! :) Use Collectors i

Performance problems with Lucene 2.9

2009-11-30 Thread Michel Nadeau
Hi, we use Lucene to store around 300 millions of records. We use the index both for conventional searching, but also for all the system's data - we replaced MySQL with Lucene because it was simply not working at all with MySQL due to the amount or records. Our problem is that we have HUGE perform

Re: Problems with Lucene

2006-06-02 Thread Alberto Marquÿffffe9s
Impossible to make it work nor if it wants invoking to the SearchFiles class main of demo. Nobody to worked with JSF + Lucene, as soon as is a class of the IndexReader type to reader = IndexReader.open(index) any class of Lucene. >> Problems with Lucene executing from Web with jsf

Re: Problems with Lucene

2006-06-01 Thread N Hira
his is not a > Lucene issue... the stack trace mentions nothing about > Lucene. > > Erik > > > On Jun 1, 2006, at 3:33 AM, Alberto Marqu�e9s wrote: > >> Problems with Lucene executing from Web with jsf. I do not >> understand because perhaps Lucene cannot be u

Re: Problems with Lucene

2006-06-01 Thread Erik Hatcher
ract with Lucene and build up to the web from there once you've got a piece working. Erik Erik Hatcher escribió: This is not a Lucene issue... the stack trace mentions nothing about Lucene. Erik On Jun 1, 2006, at 3:33 AM, Alberto Marquÿe9s wrote: Problems with Lucene executing fr

Re: Problems with Lucene

2006-06-01 Thread Alberto Marquÿffffe9s
Lucene issue... the stack trace mentions nothing about > Lucene. > > Erik > > > On Jun 1, 2006, at 3:33 AM, Alberto Marquÿe9s wrote: > >> Problems with Lucene executing from Web with jsf. I do not >> understand because perhaps Lucene cannot be used in

Re: Problems with Lucene

2006-06-01 Thread Alberto Marquÿffffe9s
> Lucene issue... the stack trace mentions nothing about > Lucene. > > Erik > > > On Jun 1, 2006, at 3:33 AM, Alberto Marquÿe9s wrote: > >> Problems with Lucene executing from Web with jsf. I do not >> understand because perhaps Lucene cannot be used in

Re: Problems with Lucene

2006-06-01 Thread Erik Hatcher
Erik Erik Hatcher <[EMAIL PROTECTED]> escribió: This is not a Lucene issue... the stack trace mentions nothing about Lucene. Erik On Jun 1, 2006, at 3:33 AM, Alberto Marquÿe9s wrote: Problems with Lucene executing from Web with jsf. I do not understand because perhaps Lucen

Re: Problems with Lucene

2006-06-01 Thread Alberto Marquÿffffe9s
issue... the stack trace mentions nothing about Lucene. Erik On Jun 1, 2006, at 3:33 AM, Alberto Marquÿe9s wrote: > Problems with Lucene executing from Web with jsf. I do not > understand because perhaps Lucene cannot be used in applications Web? > > This is the instructio

Re: Problems with Lucene

2006-06-01 Thread Erik Hatcher
This is not a Lucene issue... the stack trace mentions nothing about Lucene. Erik On Jun 1, 2006, at 3:33 AM, Alberto Marquÿe9s wrote: Problems with Lucene executing from Web with jsf. I do not understand because perhaps Lucene cannot be used in applications Web? This is the

Problems with Lucene

2006-06-01 Thread Alberto Marquÿffffe9s
Problems with Lucene executing from Web with jsf. I do not understand because perhaps Lucene cannot be used in applications Web? This is the instruction that gives error: IndexSearcher oIndexSearcher = new IndexSearcher("C:\\opt\\index"); Query query = QueryPa

Re: problems with lucene on a webhost account

2005-09-16 Thread Daniel Naber
On Friday 16 September 2005 23:32, Gasi wrote: > After uploading these on a real webserver , it didn't work because for > every search I had null results. So I found a solution-not a good > one-but it works: I indexed my data on the webhostingaccount. There must have been a different problem. Lu

problems with lucene on a webhost account

2005-09-16 Thread Gasi
Hallo everybody, I had a problem with lucene demo on my webhosting account. Because I think more people have the same problem,and perhaps somebody will get the same problem in the futurek, so now I want describe how I solved it! Well in my case I used a lucene webdemo on my homepc with windows

Some problems with lucene in searching

2005-06-13 Thread sriram Thota
Hi, I am working on lucene.I had seen ur suggestion about lucene in google search.Iam facing some problems in searching.Please go through my sample code and suggest me where i had gone wrong. I will be thankful to you. This is my sample code: private static Document createDocument(File fFi

Some problems with lucene in searching

2005-06-12 Thread sriram Thota
Hi, I am working on lucene.I had seen ur suggestion about lucene in google search.Iam facing some problems in searching.Please go through my sample code and suggest me where i had gone wrong. I will be thankful to you. This is my sample code: private static Document createDocument(File f