Re: Problem when try to make a bench of indexing (a dictionary with 120.000 words)

2008-04-10 Thread Leandro
> > If tye 16M means you're only giving the process that much memory, it > surprises > me that it runs at all. Especially since you're putting it all in a > RAMdir. > Sorry that 16M is dictonarySizeInBytes() I would imagine that it is the same size of index... Well when I start to use a Dictonary

Problem when try to make a bench of indexing (a dictionary with 120.000 words)

2008-04-10 Thread Leandro
Hello, *Sample code:* SpellChecker spell; RAMDirectory dram = new RAMDirectory(); Dicionario dic = new Dicionario(); //one implementation of spell.Dictionary spell= new SpellChecker(dram); spell.indexDictionary(dic); //indexing... *Then I got the:* machine1: Windows XP SP2, Celerom 2.66GHz e 256M

Re: Use of Lucene for DB Search

2008-04-10 Thread Leandro
> Hi, > > We are planning to provide search functionality in the a web > base application. Can we use Lucene for it to search data from database like > oracle and MS-Sql? > Yes, you can. > > > > > Thanks and Regards >प्रशांत सराफ > (Prashant Saraf) > SE-II > Cross Country Inf

Re: Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread Leandro
> > > > I'm cool :) I just think you are overcomplicating things. > > Yes... I can use two words and OR Suposse I query on this The Lord of Rings: Return of King The Lord of Rings: Fellowship The Lord of Rings: The Two towers The Lord of Weapons The Lord of War Suposse an user search: "The Lord o

Re: Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread Leandro
> Sorry, I missunderstood your question. See other reply. > Yes I got it. thanks > Are you sure about that? Did you benchmark? Can we see the results? Hey man take it easy, I just imagine. But I guess use the ShingleFilter will help.

Re: Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread Leandro
> > Mainly because it is a nasty peice of code. But it does a good job. > > > Because spellChecker use a directory to store data. It can be FSDirectory, > RAMDirectory Perfect explanation... !!! So use the RAMDirectory is better (perfomatically) spell= new SpellChecker(FSDirectory.getDirect

Re: Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread Leandro
> > > 1º Why need I pass a Directory objecto (obligatory) on constructor of > > SpellChecker? > > > > Mainly because it is a nasty peice of code. But it does a good job. > Thanks. How can we suggest it (create an normal constructor without param) to the team? > > > 2º Suposse that in my dictona

Questions about use of SpellChecker: Constructor and Simillarity...

2008-04-08 Thread Leandro
Hi, I have two question about this GREAT tool.. (framework, library... "whatever") Well I decide put spell checker on my applications and I start to read some papers and "found out" the Lucene project... Anyway, I make it works, but I just want to know... 1º Why need I pass a Directory objecto (

Fields with phrases

2006-09-11 Thread Leandro Saad
3) location: "A B" -- 1 hit 4) location: "A C" -- 1 hit Is there any way I can make this work? -- Leandro Rodrigo Saad Cruz software developer - certified scrum master :: scrum.com.br :: db.apache.org/ojb :: guara-framework.sf.net :: xingu.sf.net

Fields with phrases

2006-09-11 Thread Leandro Saad
3) location: "A B" -- 1 hit 4) location: "A C" -- 1 hit Is there any way I can make this work? -- Leandro Rodrigo Saad Cruz software developer - certified scrum master :: scrum.com.br :: db.apache.org/ojb :: guara-framework.sf.net :: xingu.sf.net

Re: Multiple lock files

2006-08-08 Thread Leandro Saad
I want to use the same lock dir, but remove only the associated lock file when I start the application. :: Leandro On 8/8/06, Simon Willnauer <[EMAIL PROTECTED]> wrote: You can start your applications with a system property set: "org.apache.lucene.lockDir" to specify your lock

Re: Multiple lock files

2006-08-08 Thread Leandro Saad
I'm trying to use them, and I maybe be wrong, but I can't unlock the dir before I create the Directory right? Do you know if the lock is created when I create the Directory? :: Leandro On 8/8/06, Michael Busch <[EMAIL PROTECTED]> wrote: > Yeah. But how do I know if a lock

Re: Multiple lock files

2006-08-08 Thread Leandro Saad
Yeah. But how do I know if a lock file is related to an index or app? I don't want to remove a lock file that another app is using :: Leandro On 8/8/06, Michael McCandless <[EMAIL PROTECTED]> wrote: > How do I remove lucene locks (startup) if there are multiple applications >

Multiple lock files

2006-08-08 Thread Leandro Saad
Hi all. How do I remove lucene locks (startup) if there are multiple applications using lucene on the same box and all use the same lock dir? -- Leandro Rodrigo Saad Cruz CTO - InterBusiness Technologies db.apache.org/ojb guara-framework.sf.net xingu.sf.net

Re: Search with accents

2006-08-03 Thread Leandro Saad
I'm using StandardAnalyser all over, so, yes, portuguese stopwords won't be eliminated -- Leandro Rodrigo Saad Cruz CTO - InterBusiness Technologies db.apache.org/ojb guara-framework.sf.net xingu.sf.net On 8/2/06, Eduardo S. Cordeiro <[EMAIL PROTECTED]> wrote: But was your in

Re: Search with accents

2006-08-02 Thread Leandro Saad
Hi Eduardo. I'm using the StandardAnalyser and I can search for words with accents. In my case "saúde" -- Leandro Rodrigo Saad Cruz CTO - InterBusiness Technologies db.apache.org/ojb guara-framework.sf.net xingu.sf.net On 8/1/06, Eduardo S. Cordeiro <[EMAIL PROTECTED]> wrot

Removing document from index

2006-06-28 Thread Leandro Saad
Hi all. I can remove a documents from the index using IndexReader.delete (Term) but the search still returns this document. What am I doing wrong? -- Leandro Rodrigo Saad Cruz CTO - InterBusiness Technologies db.apache.org/ojb guara-framework.sf.net xingu.sf.net

Creating initial index using FSDirectory

2006-06-21 Thread Leandro Saad
he first time I initialize the component, then reuse the same index for each application run. Any help? -- Leandro Rodrigo Saad Cruz CTO - InterBusiness Technologies db.apache.org/ojb guara-framework.sf.net xingu.sf.net

Lucene usage

2006-06-13 Thread Leandro Saad
d I create the writer, add the document and close it? -- Leandro Rodrigo Saad Cruz CTO - InterBusiness Technologies db.apache.org/ojb guara-framework.sf.net xingu.sf.net

Joining searches on multiple indexes

2006-05-26 Thread Leandro Saad
? -- Leandro Rodrigo Saad Cruz CTO - InterBusiness Technologies db.apache.org/ojb guara-framework.sf.net xingu.sf.net

Index evolution

2006-05-26 Thread Leandro Saad
idea. How easy is to do that with lucene? -- Leandro Rodrigo Saad Cruz CTO - InterBusiness Technologies db.apache.org/ojb guara-framework.sf.net xingu.sf.net