and
> search functionality.
>
> thanks,
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/update-index-for-user-defined-types-tp4036943p4037014.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> --
search functionality.
thanks,
--
View this message in context:
http://lucene.472066.n3.nabble.com/update-index-for-user-defined-types-tp4036943p4037014.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/update-index-for-user-defined-types-tp4036943.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> -
.nabble.com/update-index-for-user-defined-types-tp4036943.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail
You have to refresh your IndexSearcher periodically.
Tony
From: anson <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: How to update index dynamically
Date: Mon, 09 Apr 2007 18:25:57 +0900
I have build a blog project under tomcat5.5 with Lucene2.0.
And
Wow, you are right. I never realized that!
- Original Message
From: Daniel Noll <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Tuesday, April 10, 2007 8:39:28 PM
Subject: Re: How to update index dynamically
Otis Gospodnetic wrote:
> Anson,
>
> That'
Otis Gospodnetic wrote:
Anson,
That's not your real code, is it? Those $ characters in it look incorrect.
Are you sure? $ is legal at the front of a variable in Java. :-)
Daniel
--
Daniel Noll
Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, AustraliaPh: +61 2 9280 0699
Web: http
. . . . . . .
>Simpy -- http://www.simpy.com/ - Tag - Search - Share
>
>- Original Message
>From: anson <[EMAIL PROTECTED]>
>To: java-user@lucene.apache.org
>Sent: Monday, April 9, 2007 5:25:57 AM
>Subject: How to update index dynamically
>
>
>I have bui
Erik, thanks.
U r right. Once excuting the search action, I will check whether this
IndexReader still works on a current version of the index by
IndexSearcher#isCurrent(). If not I will open a new IndexSearcher.
And now it works well.
But I want to know that if index update action offen happens
: java-user@lucene.apache.org
Sent: Monday, April 9, 2007 5:25:57 AM
Subject: How to update index dynamically
I have build a blog project under tomcat5.5 with Lucene2.0.
And I want to search my blog by full text, but there is somthing wrong:
--
The project flow:
(1
After indexing, you have to open a new IndexSearcher to in order to
see new documents.
Erik
On Apr 9, 2007, at 5:25 AM, anson wrote:
I have build a blog project under tomcat5.5 with Lucene2.0.
And I want to search my blog by full text, but there is somthing
wrong:
-
I have build a blog project under tomcat5.5 with Lucene2.0.
And I want to search my blog by full text, but there is somthing wrong:
--
The project flow:
(1) On tomcat start I wrote a listener to create a index file if the
index is never created.(It's
"WATHELET Thomas" <[EMAIL PROTECTED]> wrote on 23/08/2006
00:49:25:
> Is it possible to update fields in an existing index.
> If yes how to proceed.
Unfortunately no.
To update a (document's) field that document must be removed and re-added.
-
Hi Thomas,
> Is it possible to update fields in an existing index.
> If yes how to proceed.
>
I think you can only delete a document and then reindex the updated
document:
public static int delTitle(String ID) {
try {
return writer.deleteDocuments(new Term("ID",ID))
Is it possible to update fields in an existing index.
If yes how to proceed.
on database. If
database gets change then I have to update index also. But how I come to
know in web application that which database record gets change and on
which table record is deleted OR inserted. So I will update that
document only from the index by uniquely identifying it
For changes in the database, you can:
- use the server side business object that also does the update of the BO in
the database, and which currently does also the indexing in lucene
- use the front-end (browser I presume if I see AJAX, which is nothing more
than XmlHttp), but would not be my prefer
Hi Friend...
I have two questions for you
I am doing indexing using Lucene. I am taking data from database
But for updation in index there is problem. How can I come to know that
a row or a single data cell is get changed from row ? How can I index
only
18 matches
Mail list logo