lucene query analysis

2006-03-14 Thread Raghavendra Prabhu
Hi The problem which i am facing is that the query is Case Sensitive If i type in BIG letters i am not able to see answers and if i type in small letters i am able to see results Is there anything by which i can do a case conversion Now i am using a WhiteSpaceAnalyser . What Analyser should ch

Add more module to the lucene

2006-03-14 Thread jason
Hi, Can we add more module to the lucene so that we can easily use our own measures to calculate similarity between documents and queries? I have read some codes of the original lucene, i dont think it is easy to change the similarity measure used. But i think we can build a module which can read

Add a module to the lucene!!!

2006-03-14 Thread jason
Hi, Can we add a module to lucene so that we are able to use our own similarity measure to calculate the similarity between documents and queries? As lucene has defined its own measure, we can do few with it. Considering the documents and queries represented as the vectors, we only need one clas

Add a module to the lucene

2006-03-14 Thread jason
Hi, Can we add a module to lucene so that we are able to use our own similarity measure to calculate the similarity between documents and queries? As lucene has defined its own measure, we can do few with it. Considering the documents and queries represented as the vectors, we only need one class

Re: who can tell me how lucene search in the index files

2006-03-14 Thread Daniel Noll
hu andy wrote: I see there are seven different files with extentions .fnm .tis and etc. I just can't make sure how it looks up in the .tis file. Does lucene use Binary-Search to locate the term? See TermInfosReader. It loads the .tii file into memory, which contains one in every N entries of

Re: Good MMapDirectory performance

2006-03-14 Thread Peter Keegan
- I read from Peter Keegan's recent postings: - "The Lucene server is using MMapDirectory. I'm running - the jvm with -Xmx16000M. Peak memory usage of the jvm - on Linux is about 6GB and 7.8GB on windows." - We don't have nearly as much memory as Peter but I - wonder whether he is gaining anythin

Re: Setting the COMMIT lock timeout.

2006-03-14 Thread Daniel Naber
On Dienstag 14 März 2006 10:52, Jim Bedford-roberts wrote: > Admittedly we could have developed a single central search component, > but given the way the code has evolved our current approach is simplest > for us. With separate application instances sharing access to the same > index we are getti

RE: Searching in paths

2006-03-14 Thread Mordo, Aviran (EXP N-NANNATEK)
You need to index the field as a keyword, or use an analyzer that will not strip the / from the string Aviran http://www.aviransplace.com -Original Message- From: Java Programmer [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 11:28 AM To: java-user@lucene.apache.org Subject: Se

Re: IndexFiles.java

2006-03-14 Thread Miki Sun
How do you do it using Kawa? I am not familar with command line operations. Thanks On 14/03/06, Joe Scanlon <[EMAIL PROTECTED]> wrote: > you need to specify it from the command line > > ie, java org.apache.lucene.demo.IndexFile 'type in your starting directory > here' > > > On 3/14/06, Miki Sun <

Re: IndexFiles.java

2006-03-14 Thread Joe Scanlon
you need to specify it from the command line ie, java org.apache.lucene.demo.IndexFile 'type in your starting directory here' On 3/14/06, Miki Sun <[EMAIL PROTECTED]> wrote: > > I think I did. I modified these code: > > //creat a directory to write the indices to > static final File INDEX_DIR =

Re: IndexFiles.java

2006-03-14 Thread Miki Sun
I think I did. I modified these code: //creat a directory to write the indices to static final File INDEX_DIR = new File(File.separator + "Bible_index"); //specify the directory to be indexed final File docDir = new File(File.separator + "Bible/1/"); Whereever else should I change? Thanks a lot

Re: IndexFiles.java

2006-03-14 Thread Otis Gospodnetic
It looks like you are not specifying the directory you want to index. Otis - Original Message From: Miki Sun <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Tuesday, March 14, 2006 11:27:04 AM Subject: IndexFiles.java Hiya I am a beginner of Lucene. I try to use IndexFiles.ja

Searching in paths

2006-03-14 Thread Java Programmer
Hello, I have problem with indexing / quering paths eg I put "/home/users/apache/txt/qqq__docu.txt" in field called "path", I wanted to submit query to find all documents which are provided by my user apache, so i tried to query Lucene as AND path:/home/users/* but not results were find by such que

IndexFiles.java

2006-03-14 Thread Miki Sun
Hiya I am a beginner of Lucene. I try to use IndexFiles.java to index my text file directories, but it does not work. It always give me this error message even when I comment it out: Usage: java org.apache.lucene.demo.IndexFiles What does "if (args.length == 0) " mean? Thanks Miki --

Write.lock error with spellchecker

2006-03-14 Thread Madhusudan, Veda \(Norcross, DAV\)
I am trying to use the spellchecker plugin with Lucene 1.2. I get the following exception when my SpellIndexer class tries to create the spell index. The new directory is being created with all the correct permissions. There is no write.lock file being created. Has someone run into similar issue? D

who can tell me how lucene search in the index files

2006-03-14 Thread hu andy
I see there are seven different files with extentions .fnm .tis and etc. I just can't make sure how it looks up in the .tis file. Does lucene use Binary-Search to locate the term?

RE: Setting the COMMIT lock timeout.

2006-03-14 Thread Jim Bedford-roberts
Thanks for your prompt response! You ask about the use case. We have a series of similar intranet sites, each represented by a separate tomcat application instance using the same code base but with different start-up parameters. The intranets all provide a common search function based on the sam