CPC G06F 16/221 (2019.01) [G06F 16/2228 (2019.01); G06F 16/2322 (2019.01); G06F 16/243 (2019.01); G06F 16/2453 (2019.01); G06F 16/2455 (2019.01); G06F 16/2477 (2019.01); G06F 16/248 (2019.01); G06F 16/282 (2019.01); G06F 16/319 (2019.01); G06F 16/33 (2019.01); G06F 16/338 (2019.01)] | 18 Claims |
1. A method for searching data, the method comprising:
providing an inverted index that comprises at least one record comprising at least one field name and a corresponding at least one field value extracted from time-stamped searchable events, wherein the at least one record comprises a posting value that identifies a location in a record datastore where an event associated with the at least one record is stored, and wherein the time-stamped searchable events comprise portions of raw machine data and are stored in the record datastore;
evaluating an incoming search query that references a field name and comprises commands directed towards searching data from the record datastore, wherein the field name in the incoming search query is defined by a regular expression rule, wherein the regular expression rule comprises instructions for parsing a value associated with the field name out of at least one of the time-stamped searchable events; and
responsive to the evaluating, determining results for the incoming search query by executing the incoming search query across either the record datastore or the inverted index, or both the record datastore and the inverted index, wherein the inverted index is employed separately from the record datastore to generate a response to the incoming search query.
|