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-
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
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
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
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
; > > 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
> > >
ot be ranked.
> >> >
> >> > -
> >> > Uwe Schindler
> >> > H.-H.-Meier-Allee 63, D-28213 Bremen
> >> > http://www.thetaphi.de
> >> > eMail: u...@thetaphi.de
> >> >
> >> > > -Original Message-
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-
> > >
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.
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
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
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
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
>
u should flatten everything.
> > >
> > > Uwe
> > >
> > > -----
> > > Uwe Schindler
> > > H.-H.-Meier-Allee 63, D-28213 Bremen
> > > http://www.thetaphi.de
> > > eMail: u...@thetaphi.de
> > >
> > >
> > &g
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
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:
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
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
> >
>
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
.-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
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
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
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
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
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
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
> 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
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
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
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 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
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
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
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
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
35 matches
Mail list logo