DXR Storages: Difference between revisions

Jump to navigation Jump to search
→‎Elasticsearch: Note some more features ES makes possible/easy.
(→‎Challenge: Fast Regex Matching: Linked to my half-completed work on regex trigram extraction.)
(→‎Elasticsearch: Note some more features ES makes possible/easy.)
Line 21: Line 21:
* Sparse attribute storage, which could come in handy for supporting new languages
* Sparse attribute storage, which could come in handy for supporting new languages
* Extreme flexibility of indexing: index whatever chars we want, index them any number of ways (case-sensitive or not), and entirely too much more
* Extreme flexibility of indexing: index whatever chars we want, index them any number of ways (case-sensitive or not), and entirely too much more
* Makes showing (syntax-colored) context around search results feasible—just keep the highlight offsets in the line doc.
* Efficient counting of the total (not just returned) results, a common request
* Facilitates generic-identifier searching, an MXR parity feature. (Either merge all the identifiers into a field on each line, or search them the function/ref/etc. fields separately.)


Nice to have:
Nice to have:
Confirmed users
574

edits

Navigation menu