Hi Anjana, As Maninda explained, index is only initialize with the define stream process happens at the toolbox deployment. In this particular case stream defining process was done by HL7 data publisher. But according the conclusion of [1], we are planning to remove the define stream capabilities from data agents and define all WSO2 inbuilt event definitions in corresponding toolboxes. If that's the case, we are not going to need this improvement. In addition, adding already received events to the index could be a complex process depending on how much data is already exists in corresponding CFs.
[1] - [Architecture] Should we have one place to define event streams? On Mon, Feb 24, 2014 at 7:24 AM, Pandula Kariyawasam <[email protected]>wrote: > Hi Maninda/Inosh, > > As per the discussion had with Anjana, improvement added to address this > matter, under BAM-1449 [1] > > [1] https://wso2.org/jira/browse/BAM-1449 > > Thanks, > Pandula > > > > On Sun, Feb 23, 2014 at 4:57 PM, Maninda Edirisooriya <[email protected]>wrote: > >> Hi Pandula, >> >> AFAIK this is correct. Message search needs all the messages to be >> indexed for all the filter conditions. As index is only initialized by the >> toolbox and because the index is updated only at the message receive time, >> all the messages received before the toolbox is created will not get >> indexed. >> >> But Activity ID index is enabled by default AFAIK. So all the messages >> with an Activity ID will get indexed in the Activity ID, custom index, >> irrespective from the toolbox. That is the reason of appearing all the >> messages in the Activity ID search. >> >> Inosh, please correct me if there are any corrections. >> >> Thank you. >> >> >> * Maninda Edirisooriya* >> Software Engineer >> >> *WSO2, Inc.*lean.enterprise.middleware. >> >> *Blog* : http://maninda.blogspot.com/ >> *Phone* : +94 777603226 >> >> >> On Sun, Feb 23, 2014 at 3:45 PM, Pandula Kariyawasam <[email protected]>wrote: >> >>> Hi All, >>> >>> I'm testing Message Console feature on BAM 2.4.1, which use Cassandra >>> indexing for searching. >>> >>> I created some messages (HL7) in Cassandra before adding the indexing >>> with HL7 toolbox. Then I created another set of messages after adding the >>> toolbox. >>> >>> Now, when I search for messages, it will list only the messages which >>> created after adding the toolbox. >>> But When I load/search Activities, it will load all the messages, >>> including messages created before toolbox adding. >>> >>> Is this the expected behavior? >>> >>> Thanks, >>> Pandula >>> >>> -- >>> >>> *Pandula Kariyawasam K.B.* >>> *Senior Software Engineer - QA* >>> Mobile: +94772314510 >>> >>> <http://www.wso2.com> >>> >> >> > > > -- > > *Pandula Kariyawasam K.B.* > *Senior Software Engineer - QA* > Mobile: +94772314510 > > <http://www.wso2.com> > -- Regards, Inosh Goonewardena Associate Technical Lead- WSO2 Inc. Mobile: +94779966317
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
