Trouble w/ Query Creation

2007-03-19 Thread Rajiv Roopan
Hello, I'm having some issues making the correct query. This is my current situation. I'm searching for :"foo bar" in 3 fields: In the index I have: document 1. field1 contains (boost is 2.0): "bar stuff" field2 contains: "bar max" field3 contains: "" document 2. field1 contains (boost is 2.0)

Re: Lucene Indexing

2007-01-24 Thread Rajiv Roopan
http://lucene.apache.org/java/docs/api/org/apache/lucene/search/Similarity.html On 1/24/07, Sairaj Sunil <[EMAIL PROTECTED]> wrote: Hi all, Can you tell me the exact indexing algorithm used by Lucene. or give some links to the documents that describe the algorithm used by lucene Thanks in adva

Spam filter for lucene project

2006-10-04 Thread Rajiv Roopan
Hello, I'm currently running a site which allows users to post. Lately posts have been getting out of hand. I was wondering if anyone knows of an open source spam filter that I can add to my project to scan the posts (which are just plain text) for spam? thanks in advance. Rajiv

Re: Search matching

2006-08-01 Thread Rajiv Roopan
rote: I guess so, but without any information about your code nobody can tell what. If you provide more information you willl get help!! regards simon On 8/1/06, Rajiv Roopan <[EMAIL PROTECTED]> wrote: > Hello, I have an index of locations for example. I'm indexing one field > us

Search matching

2006-07-31 Thread Rajiv Roopan
Hello, I have an index of locations for example. I'm indexing one field using SimpleAnalyzer. doc1: albany ny doc2: hudson ny doc3: new york ny doc4: new york mills ny when I search for "new york ny" , the first result returned is always "new york mills ny". Am I doing something incorrect? than

Lucene search formula

2006-07-06 Thread Rajiv Roopan
Hello, I was recently looking thru the lucene in action book and came across the scoring formula. I was wondering if the formula has changed since the book was written? Also was wondering if someone can breifly explain what the IDF(t) term in the formula means? In the book it says that it's th

spring & lucene

2006-06-05 Thread Rajiv Roopan
Hello, I'm using the spring framework to define my indexsearcher and indexwriter. They are defined as persistent singletons in the application. I'm quite new to lucene and I realize that after updating an index using IndexWriter you nead to re-create an instance of IndexSearcher to search that