Re: Problem with sorted results.

2008-12-25 Thread prabin meitei
try to construct a query like : BooleanQuery mainquery = new BooleanQuery(); BooleanQuery query1 = new BooleanQuery(); BooleanQuery query2 = new BooleanQuery(); BooleanQuery query3 = new BooleanQuery(); queryParser = new QueryParser("title", new StandardAnalyzer()); query1 = queryParser.parse(

Problem with sorted results.

2008-12-25 Thread vikas bucha
Hi, Merry Christmas and a Happy New Year to you all. I have an index with few fields. Title, Description, Author etc. For a search query "business development", the equivalent lucene query I build is: *(TITLE: business^9.00 OR AUTHOR: business^3.00 OR DESCRIPTION:business^1.00) AND (TITLE: devel

Re: Any way to ignore repeated terms in TF calculation?

2008-12-25 Thread Paul Libbrecht
Shouldn't your analyzer also convert "Rochelle Rochelle" to "Rochelle" ? paul Le 25-déc.-08 à 14:20, Israel Tsadok a écrit : A recurring problem I have with Lucene results is when a document contains the same word over and over again. If for some reason I have a document containing "badger

Re: Get DocID after Document insert?

2008-12-25 Thread Ian Vink
Ahhh. You just saved me a gazillion hours of work. Check out my Lucene enabled service-to-the-world-hope-we-all-get-along-better site. http://BahaiResearch.com Thanks! Ian On Wed, Dec 24, 2008 at 9:59 AM, Erick Erickson wrote: > You're really, really playing with fire here. Your document I

Fast string access - Best Practise?

2008-12-25 Thread Ian Vink
Which of these is the better practice: myTitle = luceneDocment.GetField("title").StringValue(); or myTitle = luceneDocment.Get("title"); Thanks in advance. Ian

Any way to ignore repeated terms in TF calculation?

2008-12-25 Thread Israel Tsadok
A recurring problem I have with Lucene results is when a document contains the same word over and over again. If for some reason I have a document containing "badger badger badger badger badger badger badger badger", it would appear high on the search results for "badger", even though it's usually

Re: Re: TermsVector

2008-12-25 Thread tom
AUTOMATIC REPLY LUX is closed until 5th January 2009 - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

Re: TermsVector

2008-12-25 Thread tom
AUTOMATIC REPLY LUX is closed until 5th January 2009 - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

TermsVector

2008-12-25 Thread Shahid Faiz
Hi, I am new to lucene. I am trying to build term clusters based on the results returned by a query. Is there any way I can get terms of resulted documents and their scores? Thanks, shahid