lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kumaran Ramasubramanian <>
Subject parent-child relationship in lucene - to avoid reindexing if parent information changes
Date Tue, 30 Aug 2016 06:38:39 GMT
Hi All,

Am building a sample application, where a group of members can interact as
a chat room. i am trying to enable search for message level search...

If i denormalize group_name & group_members in every lucene document, then
below cases will reindex more number of lucene documents...

1. editing group name
2. adding / deleting a member

So am trying to index group_name, group_members(member ids as csv)  as
parent and every text message & message_id as child.
By using parent & child, i am trying to solve 1 * m cases...
If there are 1 lakh messages under one parent, how to delete a member id or
edit a group name without reindexing of its children??

is it possible to avoid reindexing? Which lucene class is best fit for

Related Article:

Kumaran R

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message