Welcome Guest, Not a member yet? Register   Sign In
Updating documents with Zend_Search_Lucene
#3

[eluser]TheFuzzy0ne[/eluser]
Hi, thanks a lot for your reply. The problem I've realised I have is that I can't copy and UnStored field.

I am trying to use Lucene to index my forum posts, in order to be able to delete things from the index, I need to store the forum ID and topic ID of the post, in a Lucene Document as a keyword. This means I can easily delete the posts belonging to an entire topic or even forum. The problem I'm trying to solve at the moment, is how to move a forum.

I can get a list of all of the posts, but since the post body is only indexed, and not stored, I'd need to get the contents for every post in that forum/topic, and add the all to the index. I think that what I need, is some way to associate the old indexed text with the new document. I don't think this is possible, however.

As I'm not an experience Lucene user, I'd also be very interested to see some of the stats from your own index(es), for example, how large it is, how long it takes to reindex (if you ever do), and how long queries generally take.

Many thanks for your comments.


Messages In This Thread
Updating documents with Zend_Search_Lucene - by El Forum - 06-17-2009, 05:15 AM
Updating documents with Zend_Search_Lucene - by El Forum - 06-17-2009, 07:18 AM
Updating documents with Zend_Search_Lucene - by El Forum - 06-17-2009, 07:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB