From 45ed9ddba7f93f8ac2192f01db6cdca658794062 Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Thu, 24 Jan 2013 22:29:56 +0100 Subject: [PATCH] cleanup ordinals in field data --- .../index/fielddata/AtomicFieldData.java | 17 +++ .../fielddata/AtomicOrdinalFieldData.java | 41 ------- .../index/fielddata/BytesValues.java | 83 +++++++++++++ .../index/fielddata/HashedBytesValues.java | 88 ++++++++++++++ .../index/fielddata/IndexFieldData.java | 14 +++ .../fielddata/IndexOrdinalFieldData.java | 37 ------ .../index/fielddata/OrdinalsBytesValues.java | 104 ---------------- .../fielddata/OrdinalsHashedBytesValues.java | 112 ------------------ .../index/fielddata/OrdinalsStringValues.java | 51 -------- .../index/fielddata/StringValues.java | 27 +++++ .../BytesRefFieldComparatorSource.java | 5 +- .../BytesRefOrdValComparator.java | 29 +++-- .../ConcreteBytesRefAtomicFieldData.java | 29 ++--- .../plain/ConcreteBytesRefIndexFieldData.java | 7 +- .../plain/PagedBytesAtomicFieldData.java | 27 +++-- .../plain/PagedBytesIndexFieldData.java | 7 +- .../facet/terms/TermsFacetProcessor.java | 5 +- .../TermsStringOrdinalsFacetCollector.java | 14 +-- 18 files changed, 293 insertions(+), 404 deletions(-) delete mode 100644 src/main/java/org/elasticsearch/index/fielddata/AtomicOrdinalFieldData.java delete mode 100644 src/main/java/org/elasticsearch/index/fielddata/IndexOrdinalFieldData.java delete mode 100644 src/main/java/org/elasticsearch/index/fielddata/OrdinalsBytesValues.java delete mode 100644 src/main/java/org/elasticsearch/index/fielddata/OrdinalsHashedBytesValues.java delete mode 100644 src/main/java/org/elasticsearch/index/fielddata/OrdinalsStringValues.java diff --git a/src/main/java/org/elasticsearch/index/fielddata/AtomicFieldData.java b/src/main/java/org/elasticsearch/index/fielddata/AtomicFieldData.java index c2681fab839..45bd34a0588 100644 --- a/src/main/java/org/elasticsearch/index/fielddata/AtomicFieldData.java +++ b/src/main/java/org/elasticsearch/index/fielddata/AtomicFieldData.java @@ -64,4 +64,21 @@ public interface AtomicFieldData