RE: search alogorithm in Lucene

2005-08-08 Thread Madhu Panitini
Hi one more question

Is there any format of text file that lucene eexpects some think like
addition of XML tags for the text document which is given for lucene
before indexing.

regards
madhu

-Original Message-
From: Madhu Panitini 
Sent: Monday, August 08, 2005 7:02 PM
To: general@lucene.apache.org
Subject: search alogorithm in Lucene

Hi all,
I new to the lucene, but I am familiar with the IR. I want build IR
system in Java and I found Lucene, but some questions remained
unanswered for me after searching complete website. 

I have couple of questions regarding Lucene, 

1. What is the search algorithm(s)[VSM, ..] used or available in the
Lucene?

2. How term weight is calculated in Lucene, how many types of term
weight calculating formulas are implemented and what are they?

Regards
Madhu






Re: IndexWriter and IndexReader open at the same time

2005-08-08 Thread Otis Gospodnetic
If you have the Lucene book, look at Chapter 2 (page 59 under section
2.9 (Concurrency, thread-safety, and locking issues) in chapter 2
(Indexing)):

  http://www.lucenebook.com/search?query=concurrency+rules

Also, look at Lucene's Bugzilla, where you'll find a contribution that
helps with concurrent IndexReader/IndexWriter usage.

Otis


--- Greg Love [EMAIL PROTECTED] wrote:

 Hello,
 
 I have an application that gets many delete and write resquests at
 the
 same time.  to avoid opening and closing the IndexWriter and
 IndexReader everytime one of them need to do a write operation, i
 keep
 them both open and have a shared lock around them whenever i need to
 use them for writing.  everything seems to be working in order, but
 i'm not sure if this is a safe thing to do.  please let me know.
 
 thank you, 
 lavafish