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,
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
Dear All
How the score method works(logic) in Hits class
For 100% match also score is returning only 69%
Thanks and regards
Raju
- 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
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
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
Dear All
How to know that, when(lastmodified time) last document is added to in index
Thanks and regards
Raju
: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
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
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 =
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
Dear All
How to highlight the search word
Thanks and regards
raju
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
13 matches
Mail list logo