Re: Searching against Database

2004-07-15 Thread lingaraju
Hello Even i am searching the same code as all my web display information is stored in database. Early response will be very much helpful Thanks and regards Raju - Original Message - From: Hetan Shah [EMAIL PROTECTED] To: Lucene Users List [EMAIL PROTECTED] Sent: Thursday, July 15,

updating the index created for database search

2004-07-26 Thread lingaraju
Dear All I need help to update the index created for the database search I created the index with three field mapping to the three column of database(oid(primarykey),title, contents) Then I created the document for each row and added to the writer

Logic of score method in hits class

2004-07-26 Thread lingaraju
Dear All How the score method works(logic) in Hits class For 100% match also score is returning only 69% Thanks and regards Raju

Re: updating the index created for database search

2004-07-26 Thread lingaraju
- Original Message - From: Daniel Naber [EMAIL PROTECTED] To: Lucene Users List [EMAIL PROTECTED] Sent: Monday, July 26, 2004 3:35 PM Subject: Re: updating the index created for database search On Monday 26 July 2004 11:37, lingaraju wrote: 2) When I fetch the rows from the database

Re: updating the index created for database search

2004-07-26 Thread lingaraju
the index created for database search On Monday 26 July 2004 13:31, lingaraju wrote: If it is new record through which class we have to check that record is present in the index Just search for the id with a TermQuery. If you get a hit, the record is in the index already

Re: Logic of score method in hits class

2004-07-27 Thread lingaraju
divide all scores by the first score and multiply by 100. Doug lingaraju wrote: Dear All How the score method works(logic) in Hits class For 100% match also score is returning only 69% Thanks and regards Raju

Time of last insert

2004-07-27 Thread lingaraju
Dear All How to know that, when(lastmodified time) last document is added to in index Thanks and regards Raju

Re: updating the index created for database search

2004-07-27 Thread lingaraju
:21 PM Subject: Re: updating the index created for database search On Monday 26 July 2004 13:31, lingaraju wrote: If it is new record through which class we have to check that record is present in the index Just search for the id with a TermQuery. If you get a hit, the record

Re: Time of last insert

2004-07-27 Thread lingaraju
But that method is deprecated and Replaced by getCurrentVersion() - Original Message - From: Erik Hatcher [EMAIL PROTECTED] To: Lucene Users List [EMAIL PROTECTED] Sent: Tuesday, July 27, 2004 6:25 PM Subject: Re: Time of last insert On Jul 27, 2004, at 5:15 AM, Otis Gospodnetic

Having common word in the search

2004-08-02 Thread lingaraju
Dear All Searcher searcher = new IndexSearcher(C:/index); Analyzer analyzer = new StandardAnalyzer(); String line=curry asia; line=line+recipe; String fields[] = new String[2]; fields[0] = title; fields[1] = contents; Query q = MultiFieldQueryParser.parse(line,fields,analyzer); Hits hits1 =

search for and condition

2004-08-09 Thread lingaraju
Dear all String line=text1 text2; Query q = MultiFieldQueryParser.parse(line,fields,analyzer); Hits hits = searcher.search(q); Here search will take text1 OR text2 Condition How to make searh text1 and text2 Condiation Thanks and regards Lingaraju.T.S

highlight the search word

2004-08-14 Thread lingaraju
Dear All How to highlight the search word Thanks and regards raju

tool to check the index field

2004-11-17 Thread lingaraju
HI ALL I am having index file created by other people Now i want to know how many field are there in the index Is there any third party tool to do this I saw some where some GUI tool to do this but forgot the name. Regards LingaRaju