The community forums are in BETA and closed to the public.

Is it possible to search the History?

Is there anyway to search through the stored history besides reading in 100 messages at a time and searching them like that? Specifically looking for keywords/text fragments.

If it isn't possible with the base Storage setup is there a generally accepted/used method to do this in an efficient manner?

History Search to Find a substring in a Channel

Today there is yet to be a server-side search solution for finding a substring in a stored Data Stream message. However there's at least a pre-written JavaScript example for history searching for you to try. This will provide you a quick and basic example on basic linear scanning over a timeline of messages in history.

Try the History Search Example to get a sense of a basic substring search approach.

PubNub Search Substring in History Channel

Comments to this discussion are now closed!