Sync from upstream.

Descriptions:
==========
Add a dirty bit flag to document store to avoid checksumming during
initialization.
==========
Change the interpretation of snippet window size to be measured in unicode
characters rather than bytes.
==========
Implement snippet window shifting to more closely match the requested size.
==========
Make GetDocumentFilterData check if a document exists first, and if not, return
NOT_FOUND.
==========
Move reverse-jni-break-iterator to the tokenization/reverse_jni directory.

Bug: 185806837
Bug: 188826120
Bug: 188914218

Change-Id: I908e4b5eedc85332a318ce0e5b891a7a950720db
32 files changed
tree: 50557c8fc8fe15cf993cd8ddd217f83dc5c04f39
  1. icing/
  2. java/
  3. proto/
  4. .gitignore
  5. Android.bp
  6. AndroidManifest.xml
  7. build.gradle
  8. CMakeLists.txt
  9. CONTRIBUTING.md
  10. jarjar-rules.txt
  11. LICENSE
  12. METADATA
  13. MODULE_LICENSE_APACHE2
  14. README.md
  15. synced_AOSP_CL_number.txt
  16. TEST_MAPPING
README.md

Icing Search Library

Icing is a fast, embedded, mobile-friendly full-text-search library written in C++.

This is not an officially supported Google product.