Sync from upstream.

Descriptions:

============
Add result grouping to the ResultSpecProto to allow callers to limit the number of results returned per group of namespace.

============
Implement PersistToDisk(LITE) to expose a LITE option for PersistToDisk that only persists the ground truth.

============
Add per-namespace storage info.

============
Add score to SearchResult.

============
Migrate IndexProcessorTest, DocHitInfoIteratorFilterTest, DocHitInfoIteratorSectionRestrictTest to use SchemaBuilder

============
Migrate ScorerTest and ScoringProcessorTest to use SchemaBuilder

============
Add licensing header for storage.proto.


Change-Id: I5cbdd8045036dc38cf00191a2eac56cc6f2d3443
30 files changed
tree: 25dfec6e49ef5a96c09af81954011b5e7117dfaf
  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.