move to field.data package
This commit is contained in:
parent
a9fc276a3e
commit
2d0785078c
|
@ -22,8 +22,8 @@ package org.elasticsearch.index.cache;
|
|||
import org.apache.lucene.index.IndexReader;
|
||||
import org.elasticsearch.index.AbstractIndexComponent;
|
||||
import org.elasticsearch.index.Index;
|
||||
import org.elasticsearch.index.cache.field.FieldDataCache;
|
||||
import org.elasticsearch.index.cache.field.none.NoneFieldDataCache;
|
||||
import org.elasticsearch.index.cache.field.data.FieldDataCache;
|
||||
import org.elasticsearch.index.cache.field.data.none.NoneFieldDataCache;
|
||||
import org.elasticsearch.index.cache.filter.FilterCache;
|
||||
import org.elasticsearch.index.cache.filter.none.NoneFilterCache;
|
||||
import org.elasticsearch.index.settings.IndexSettings;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
package org.elasticsearch.index.cache;
|
||||
|
||||
import org.elasticsearch.index.cache.field.FieldDataCacheModule;
|
||||
import org.elasticsearch.index.cache.field.data.FieldDataCacheModule;
|
||||
import org.elasticsearch.index.cache.filter.FilterCacheModule;
|
||||
import org.elasticsearch.util.inject.AbstractModule;
|
||||
import org.elasticsearch.util.settings.Settings;
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.cache.field;
|
||||
package org.elasticsearch.index.cache.field.data;
|
||||
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.util.component.CloseableComponent;
|
||||
|
||||
import java.io.IOException;
|
|
@ -17,9 +17,9 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.cache.field;
|
||||
package org.elasticsearch.index.cache.field.data;
|
||||
|
||||
import org.elasticsearch.index.cache.field.weak.WeakFieldDataCache;
|
||||
import org.elasticsearch.index.cache.field.data.weak.WeakFieldDataCache;
|
||||
import org.elasticsearch.util.inject.AbstractModule;
|
||||
import org.elasticsearch.util.inject.Scopes;
|
||||
import org.elasticsearch.util.settings.Settings;
|
|
@ -17,15 +17,15 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.cache.field.none;
|
||||
package org.elasticsearch.index.cache.field.data.none;
|
||||
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.elasticsearch.ElasticSearchException;
|
||||
import org.elasticsearch.index.AbstractIndexComponent;
|
||||
import org.elasticsearch.index.Index;
|
||||
import org.elasticsearch.index.cache.field.FieldDataCache;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.cache.field.data.FieldDataCache;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.index.settings.IndexSettings;
|
||||
import org.elasticsearch.util.inject.Inject;
|
||||
import org.elasticsearch.util.settings.Settings;
|
|
@ -17,11 +17,11 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.cache.field.soft;
|
||||
package org.elasticsearch.index.cache.field.data.soft;
|
||||
|
||||
import org.elasticsearch.index.Index;
|
||||
import org.elasticsearch.index.cache.field.support.AbstractConcurrentMapFieldDataCache;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.cache.field.data.support.AbstractConcurrentMapFieldDataCache;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.settings.IndexSettings;
|
||||
import org.elasticsearch.util.collect.MapMaker;
|
||||
import org.elasticsearch.util.inject.Inject;
|
|
@ -17,15 +17,15 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.cache.field.support;
|
||||
package org.elasticsearch.index.cache.field.data.support;
|
||||
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.elasticsearch.ElasticSearchException;
|
||||
import org.elasticsearch.index.AbstractIndexComponent;
|
||||
import org.elasticsearch.index.Index;
|
||||
import org.elasticsearch.index.cache.field.FieldDataCache;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.cache.field.data.FieldDataCache;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.index.settings.IndexSettings;
|
||||
import org.elasticsearch.util.concurrent.ConcurrentCollections;
|
||||
import org.elasticsearch.util.settings.Settings;
|
|
@ -17,11 +17,11 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.cache.field.weak;
|
||||
package org.elasticsearch.index.cache.field.data.weak;
|
||||
|
||||
import org.elasticsearch.index.Index;
|
||||
import org.elasticsearch.index.cache.field.support.AbstractConcurrentMapFieldDataCache;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.cache.field.data.support.AbstractConcurrentMapFieldDataCache;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.settings.IndexSettings;
|
||||
import org.elasticsearch.util.collect.MapMaker;
|
||||
import org.elasticsearch.util.inject.Inject;
|
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field;
|
||||
package org.elasticsearch.index.field.data;
|
||||
|
||||
/**
|
||||
* @author kimchy (shay.banon)
|
|
@ -17,16 +17,16 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field;
|
||||
package org.elasticsearch.index.field.data;
|
||||
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.elasticsearch.ElasticSearchIllegalArgumentException;
|
||||
import org.elasticsearch.index.field.doubles.DoubleFieldData;
|
||||
import org.elasticsearch.index.field.floats.FloatFieldData;
|
||||
import org.elasticsearch.index.field.ints.IntFieldData;
|
||||
import org.elasticsearch.index.field.longs.LongFieldData;
|
||||
import org.elasticsearch.index.field.shorts.ShortFieldData;
|
||||
import org.elasticsearch.index.field.strings.StringFieldData;
|
||||
import org.elasticsearch.index.field.data.doubles.DoubleFieldData;
|
||||
import org.elasticsearch.index.field.data.floats.FloatFieldData;
|
||||
import org.elasticsearch.index.field.data.ints.IntFieldData;
|
||||
import org.elasticsearch.index.field.data.longs.LongFieldData;
|
||||
import org.elasticsearch.index.field.data.shorts.ShortFieldData;
|
||||
import org.elasticsearch.index.field.data.strings.StringFieldData;
|
||||
import org.elasticsearch.util.ThreadLocals;
|
||||
|
||||
import java.io.IOException;
|
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field;
|
||||
package org.elasticsearch.index.field.data;
|
||||
|
||||
/**
|
||||
* @author kimchy (Shay Banon)
|
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field;
|
||||
package org.elasticsearch.index.field.data;
|
||||
|
||||
/**
|
||||
* @author kimchy (shay.banon)
|
|
@ -17,7 +17,7 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field;
|
||||
package org.elasticsearch.index.field.data;
|
||||
|
||||
/**
|
||||
* @author kimchy (shay.banon)
|
|
@ -17,9 +17,9 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.doubles;
|
||||
package org.elasticsearch.index.field.data.doubles;
|
||||
|
||||
import org.elasticsearch.index.field.NumericDocFieldData;
|
||||
import org.elasticsearch.index.field.data.NumericDocFieldData;
|
||||
|
||||
/**
|
||||
* @author kimchy (shay.banon)
|
|
@ -17,13 +17,13 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.doubles;
|
||||
package org.elasticsearch.index.field.data.doubles;
|
||||
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.apache.lucene.search.FieldCache;
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.NumericFieldData;
|
||||
import org.elasticsearch.index.field.support.FieldDataLoader;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.NumericFieldData;
|
||||
import org.elasticsearch.index.field.data.support.FieldDataLoader;
|
||||
import org.elasticsearch.util.gnu.trove.TDoubleArrayList;
|
||||
|
||||
import java.io.IOException;
|
|
@ -17,9 +17,9 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.doubles;
|
||||
package org.elasticsearch.index.field.data.doubles;
|
||||
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.util.ThreadLocals;
|
||||
|
||||
/**
|
|
@ -17,9 +17,9 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.doubles;
|
||||
package org.elasticsearch.index.field.data.doubles;
|
||||
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
|
||||
/**
|
||||
* @author kimchy (shay.banon)
|
|
@ -17,9 +17,9 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.floats;
|
||||
package org.elasticsearch.index.field.data.floats;
|
||||
|
||||
import org.elasticsearch.index.field.NumericDocFieldData;
|
||||
import org.elasticsearch.index.field.data.NumericDocFieldData;
|
||||
|
||||
/**
|
||||
* @author kimchy (shay.banon)
|
|
@ -17,13 +17,13 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.floats;
|
||||
package org.elasticsearch.index.field.data.floats;
|
||||
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.apache.lucene.search.FieldCache;
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.NumericFieldData;
|
||||
import org.elasticsearch.index.field.support.FieldDataLoader;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.NumericFieldData;
|
||||
import org.elasticsearch.index.field.data.support.FieldDataLoader;
|
||||
import org.elasticsearch.util.gnu.trove.TFloatArrayList;
|
||||
|
||||
import java.io.IOException;
|
|
@ -17,10 +17,10 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.floats;
|
||||
package org.elasticsearch.index.field.data.floats;
|
||||
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.doubles.DoubleFieldData;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.doubles.DoubleFieldData;
|
||||
import org.elasticsearch.util.ThreadLocals;
|
||||
|
||||
/**
|
|
@ -17,10 +17,10 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.floats;
|
||||
package org.elasticsearch.index.field.data.floats;
|
||||
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.doubles.DoubleFieldData;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.doubles.DoubleFieldData;
|
||||
|
||||
/**
|
||||
* @author kimchy (shay.banon)
|
|
@ -17,9 +17,9 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.ints;
|
||||
package org.elasticsearch.index.field.data.ints;
|
||||
|
||||
import org.elasticsearch.index.field.NumericDocFieldData;
|
||||
import org.elasticsearch.index.field.data.NumericDocFieldData;
|
||||
|
||||
/**
|
||||
* @author kimchy (shay.banon)
|
|
@ -17,13 +17,13 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.ints;
|
||||
package org.elasticsearch.index.field.data.ints;
|
||||
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.apache.lucene.search.FieldCache;
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.NumericFieldData;
|
||||
import org.elasticsearch.index.field.support.FieldDataLoader;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.NumericFieldData;
|
||||
import org.elasticsearch.index.field.data.support.FieldDataLoader;
|
||||
import org.elasticsearch.util.gnu.trove.TIntArrayList;
|
||||
|
||||
import java.io.IOException;
|
|
@ -17,10 +17,10 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.ints;
|
||||
package org.elasticsearch.index.field.data.ints;
|
||||
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.doubles.DoubleFieldData;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.doubles.DoubleFieldData;
|
||||
import org.elasticsearch.util.ThreadLocals;
|
||||
|
||||
/**
|
|
@ -17,10 +17,10 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.ints;
|
||||
package org.elasticsearch.index.field.data.ints;
|
||||
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.doubles.DoubleFieldData;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.doubles.DoubleFieldData;
|
||||
|
||||
/**
|
||||
* @author kimchy (shay.banon)
|
|
@ -17,9 +17,9 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.longs;
|
||||
package org.elasticsearch.index.field.data.longs;
|
||||
|
||||
import org.elasticsearch.index.field.NumericDocFieldData;
|
||||
import org.elasticsearch.index.field.data.NumericDocFieldData;
|
||||
|
||||
/**
|
||||
* @author kimchy (shay.banon)
|
|
@ -17,13 +17,13 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.longs;
|
||||
package org.elasticsearch.index.field.data.longs;
|
||||
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.apache.lucene.search.FieldCache;
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.NumericFieldData;
|
||||
import org.elasticsearch.index.field.support.FieldDataLoader;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.NumericFieldData;
|
||||
import org.elasticsearch.index.field.data.support.FieldDataLoader;
|
||||
import org.elasticsearch.util.gnu.trove.TLongArrayList;
|
||||
|
||||
import java.io.IOException;
|
|
@ -17,10 +17,10 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.longs;
|
||||
package org.elasticsearch.index.field.data.longs;
|
||||
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.doubles.DoubleFieldData;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.doubles.DoubleFieldData;
|
||||
import org.elasticsearch.util.ThreadLocals;
|
||||
|
||||
/**
|
|
@ -17,10 +17,10 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.longs;
|
||||
package org.elasticsearch.index.field.data.longs;
|
||||
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.doubles.DoubleFieldData;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.doubles.DoubleFieldData;
|
||||
|
||||
/**
|
||||
* @author kimchy (shay.banon)
|
|
@ -17,10 +17,10 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.shorts;
|
||||
package org.elasticsearch.index.field.data.shorts;
|
||||
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.doubles.DoubleFieldData;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.doubles.DoubleFieldData;
|
||||
import org.elasticsearch.util.ThreadLocals;
|
||||
|
||||
/**
|
|
@ -17,9 +17,9 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.shorts;
|
||||
package org.elasticsearch.index.field.data.shorts;
|
||||
|
||||
import org.elasticsearch.index.field.NumericDocFieldData;
|
||||
import org.elasticsearch.index.field.data.NumericDocFieldData;
|
||||
|
||||
/**
|
||||
* @author kimchy (shay.banon)
|
|
@ -17,13 +17,13 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.shorts;
|
||||
package org.elasticsearch.index.field.data.shorts;
|
||||
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.apache.lucene.search.FieldCache;
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.NumericFieldData;
|
||||
import org.elasticsearch.index.field.support.FieldDataLoader;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.NumericFieldData;
|
||||
import org.elasticsearch.index.field.data.support.FieldDataLoader;
|
||||
import org.elasticsearch.util.gnu.trove.TShortArrayList;
|
||||
|
||||
import java.io.IOException;
|
|
@ -17,10 +17,10 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.shorts;
|
||||
package org.elasticsearch.index.field.data.shorts;
|
||||
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.doubles.DoubleFieldData;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.doubles.DoubleFieldData;
|
||||
|
||||
/**
|
||||
* @author kimchy (shay.banon)
|
|
@ -17,9 +17,9 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.strings;
|
||||
package org.elasticsearch.index.field.data.strings;
|
||||
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.util.Strings;
|
||||
import org.elasticsearch.util.ThreadLocals;
|
||||
|
|
@ -17,9 +17,9 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.strings;
|
||||
package org.elasticsearch.index.field.data.strings;
|
||||
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.util.Strings;
|
||||
|
||||
/**
|
|
@ -17,9 +17,9 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.strings;
|
||||
package org.elasticsearch.index.field.data.strings;
|
||||
|
||||
import org.elasticsearch.index.field.DocFieldData;
|
||||
import org.elasticsearch.index.field.data.DocFieldData;
|
||||
|
||||
/**
|
||||
* @author kimchy (shay.banon)
|
|
@ -17,12 +17,12 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.strings;
|
||||
package org.elasticsearch.index.field.data.strings;
|
||||
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.support.FieldDataLoader;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.support.FieldDataLoader;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
|
@ -17,15 +17,15 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.support;
|
||||
package org.elasticsearch.index.field.data.support;
|
||||
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.apache.lucene.index.Term;
|
||||
import org.apache.lucene.index.TermDocs;
|
||||
import org.apache.lucene.index.TermEnum;
|
||||
import org.apache.lucene.util.StringHelper;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.FieldDataOptions;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldDataOptions;
|
||||
import org.elasticsearch.util.gnu.trove.TIntArrayList;
|
||||
|
||||
import java.io.IOException;
|
|
@ -25,7 +25,7 @@ import org.apache.lucene.document.Fieldable;
|
|||
import org.apache.lucene.index.Term;
|
||||
import org.apache.lucene.search.Filter;
|
||||
import org.apache.lucene.search.Query;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.util.concurrent.Immutable;
|
||||
import org.elasticsearch.util.concurrent.ThreadSafe;
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.apache.lucene.search.*;
|
|||
import org.apache.lucene.util.NumericUtils;
|
||||
import org.elasticsearch.index.analysis.NamedAnalyzer;
|
||||
import org.elasticsearch.index.analysis.NumericFloatAnalyzer;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.mapper.BoostFieldMapper;
|
||||
import org.elasticsearch.index.mapper.MergeMappingException;
|
||||
import org.elasticsearch.util.Numbers;
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.apache.lucene.search.*;
|
|||
import org.apache.lucene.util.NumericUtils;
|
||||
import org.elasticsearch.index.analysis.NamedAnalyzer;
|
||||
import org.elasticsearch.index.analysis.NumericDateAnalyzer;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.mapper.MapperParsingException;
|
||||
import org.elasticsearch.util.Numbers;
|
||||
import org.elasticsearch.util.Strings;
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.apache.lucene.search.*;
|
|||
import org.apache.lucene.util.NumericUtils;
|
||||
import org.elasticsearch.index.analysis.NamedAnalyzer;
|
||||
import org.elasticsearch.index.analysis.NumericDoubleAnalyzer;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.mapper.MapperParsingException;
|
||||
import org.elasticsearch.util.Numbers;
|
||||
import org.elasticsearch.util.xcontent.XContentParser;
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.apache.lucene.document.Fieldable;
|
|||
import org.apache.lucene.index.Term;
|
||||
import org.apache.lucene.search.*;
|
||||
import org.elasticsearch.index.analysis.NamedAnalyzer;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.mapper.FieldMapper;
|
||||
import org.elasticsearch.index.mapper.FieldMapperListener;
|
||||
import org.elasticsearch.index.mapper.MergeMappingException;
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.apache.lucene.search.*;
|
|||
import org.apache.lucene.util.NumericUtils;
|
||||
import org.elasticsearch.index.analysis.NamedAnalyzer;
|
||||
import org.elasticsearch.index.analysis.NumericFloatAnalyzer;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.mapper.MapperParsingException;
|
||||
import org.elasticsearch.util.Numbers;
|
||||
import org.elasticsearch.util.Strings;
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.apache.lucene.search.*;
|
|||
import org.apache.lucene.util.NumericUtils;
|
||||
import org.elasticsearch.index.analysis.NamedAnalyzer;
|
||||
import org.elasticsearch.index.analysis.NumericIntegerAnalyzer;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.mapper.MapperParsingException;
|
||||
import org.elasticsearch.util.Numbers;
|
||||
import org.elasticsearch.util.Strings;
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.apache.lucene.search.*;
|
|||
import org.apache.lucene.util.NumericUtils;
|
||||
import org.elasticsearch.index.analysis.NamedAnalyzer;
|
||||
import org.elasticsearch.index.analysis.NumericLongAnalyzer;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.mapper.MapperParsingException;
|
||||
import org.elasticsearch.util.Numbers;
|
||||
import org.elasticsearch.util.Strings;
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.apache.lucene.search.Filter;
|
|||
import org.apache.lucene.search.Query;
|
||||
import org.apache.lucene.util.NumericUtils;
|
||||
import org.elasticsearch.index.analysis.NamedAnalyzer;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.util.ThreadLocals;
|
||||
import org.elasticsearch.util.gnu.trove.TIntObjectHashMap;
|
||||
import org.elasticsearch.util.xcontent.builder.XContentBuilder;
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.apache.lucene.search.*;
|
|||
import org.apache.lucene.util.NumericUtils;
|
||||
import org.elasticsearch.index.analysis.NamedAnalyzer;
|
||||
import org.elasticsearch.index.analysis.NumericIntegerAnalyzer;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.mapper.MapperParsingException;
|
||||
import org.elasticsearch.util.Numbers;
|
||||
import org.elasticsearch.util.Strings;
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
package org.elasticsearch.search.facets.histogram;
|
||||
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.elasticsearch.index.cache.field.FieldDataCache;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.NumericFieldData;
|
||||
import org.elasticsearch.index.cache.field.data.FieldDataCache;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.field.data.NumericFieldData;
|
||||
import org.elasticsearch.index.mapper.FieldMapper;
|
||||
import org.elasticsearch.index.mapper.MapperService;
|
||||
import org.elasticsearch.search.facets.Facet;
|
||||
|
@ -33,7 +33,7 @@ import org.elasticsearch.util.gnu.trove.TLongLongHashMap;
|
|||
|
||||
import java.io.IOException;
|
||||
|
||||
import static org.elasticsearch.index.field.FieldDataOptions.*;
|
||||
import static org.elasticsearch.index.field.data.FieldDataOptions.*;
|
||||
|
||||
/**
|
||||
* A histogram facet collector that uses the same field as the key as well as the
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
package org.elasticsearch.search.facets.histogram;
|
||||
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.elasticsearch.index.cache.field.FieldDataCache;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.NumericFieldData;
|
||||
import org.elasticsearch.index.cache.field.data.FieldDataCache;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.field.data.NumericFieldData;
|
||||
import org.elasticsearch.index.mapper.FieldMapper;
|
||||
import org.elasticsearch.index.mapper.MapperService;
|
||||
import org.elasticsearch.search.facets.Facet;
|
||||
|
@ -33,7 +33,7 @@ import org.elasticsearch.util.gnu.trove.TLongLongHashMap;
|
|||
|
||||
import java.io.IOException;
|
||||
|
||||
import static org.elasticsearch.index.field.FieldDataOptions.*;
|
||||
import static org.elasticsearch.index.field.data.FieldDataOptions.*;
|
||||
|
||||
/**
|
||||
* A histogram facet collector that uses different fields for the key and the value.
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
package org.elasticsearch.search.facets.statistical;
|
||||
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.elasticsearch.index.cache.field.FieldDataCache;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.NumericFieldData;
|
||||
import org.elasticsearch.index.cache.field.data.FieldDataCache;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.field.data.NumericFieldData;
|
||||
import org.elasticsearch.index.mapper.FieldMapper;
|
||||
import org.elasticsearch.index.mapper.MapperService;
|
||||
import org.elasticsearch.search.facets.Facet;
|
||||
|
@ -31,7 +31,7 @@ import org.elasticsearch.search.facets.support.AbstractFacetCollector;
|
|||
|
||||
import java.io.IOException;
|
||||
|
||||
import static org.elasticsearch.index.field.FieldDataOptions.*;
|
||||
import static org.elasticsearch.index.field.data.FieldDataOptions.*;
|
||||
|
||||
/**
|
||||
* @author kimchy (shay.banon)
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
package org.elasticsearch.search.facets.terms;
|
||||
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.elasticsearch.index.cache.field.FieldDataCache;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.cache.field.data.FieldDataCache;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.index.mapper.FieldMapper;
|
||||
import org.elasticsearch.index.mapper.MapperService;
|
||||
import org.elasticsearch.search.facets.Facet;
|
||||
|
@ -36,7 +36,7 @@ import java.io.IOException;
|
|||
import java.util.ArrayDeque;
|
||||
import java.util.Deque;
|
||||
|
||||
import static org.elasticsearch.index.field.FieldDataOptions.*;
|
||||
import static org.elasticsearch.index.field.data.FieldDataOptions.*;
|
||||
|
||||
/**
|
||||
* @author kimchy (shay.banon)
|
||||
|
|
|
@ -23,7 +23,7 @@ import org.apache.lucene.search.Query;
|
|||
import org.apache.lucene.search.Sort;
|
||||
import org.apache.lucene.store.AlreadyClosedException;
|
||||
import org.elasticsearch.ElasticSearchException;
|
||||
import org.elasticsearch.index.cache.field.FieldDataCache;
|
||||
import org.elasticsearch.index.cache.field.data.FieldDataCache;
|
||||
import org.elasticsearch.index.cache.filter.FilterCache;
|
||||
import org.elasticsearch.index.engine.Engine;
|
||||
import org.elasticsearch.index.mapper.MapperService;
|
||||
|
|
|
@ -17,21 +17,21 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.doubles;
|
||||
package org.elasticsearch.index.field.data.doubles;
|
||||
|
||||
import org.apache.lucene.document.NumericField;
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.apache.lucene.index.IndexWriter;
|
||||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.store.RAMDirectory;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.util.Tuple;
|
||||
import org.elasticsearch.util.lucene.Lucene;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import static org.elasticsearch.index.field.FieldDataOptions.*;
|
||||
import static org.elasticsearch.index.field.data.FieldDataOptions.*;
|
||||
import static org.elasticsearch.util.Tuple.*;
|
||||
import static org.elasticsearch.util.lucene.DocumentBuilder.*;
|
||||
import static org.hamcrest.MatcherAssert.*;
|
|
@ -17,21 +17,21 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.floats;
|
||||
package org.elasticsearch.index.field.data.floats;
|
||||
|
||||
import org.apache.lucene.document.NumericField;
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.apache.lucene.index.IndexWriter;
|
||||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.store.RAMDirectory;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.util.Tuple;
|
||||
import org.elasticsearch.util.lucene.Lucene;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import static org.elasticsearch.index.field.FieldDataOptions.*;
|
||||
import static org.elasticsearch.index.field.data.FieldDataOptions.*;
|
||||
import static org.elasticsearch.util.Tuple.*;
|
||||
import static org.elasticsearch.util.lucene.DocumentBuilder.*;
|
||||
import static org.hamcrest.MatcherAssert.*;
|
|
@ -17,21 +17,21 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.ints;
|
||||
package org.elasticsearch.index.field.data.ints;
|
||||
|
||||
import org.apache.lucene.document.NumericField;
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.apache.lucene.index.IndexWriter;
|
||||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.store.RAMDirectory;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.util.Tuple;
|
||||
import org.elasticsearch.util.lucene.Lucene;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import static org.elasticsearch.index.field.FieldDataOptions.*;
|
||||
import static org.elasticsearch.index.field.data.FieldDataOptions.*;
|
||||
import static org.elasticsearch.util.Tuple.*;
|
||||
import static org.elasticsearch.util.lucene.DocumentBuilder.*;
|
||||
import static org.hamcrest.MatcherAssert.*;
|
|
@ -17,21 +17,21 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.longs;
|
||||
package org.elasticsearch.index.field.data.longs;
|
||||
|
||||
import org.apache.lucene.document.NumericField;
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.apache.lucene.index.IndexWriter;
|
||||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.store.RAMDirectory;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.util.Tuple;
|
||||
import org.elasticsearch.util.lucene.Lucene;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import static org.elasticsearch.index.field.FieldDataOptions.*;
|
||||
import static org.elasticsearch.index.field.data.FieldDataOptions.*;
|
||||
import static org.elasticsearch.util.Tuple.*;
|
||||
import static org.elasticsearch.util.lucene.DocumentBuilder.*;
|
||||
import static org.hamcrest.MatcherAssert.*;
|
|
@ -17,21 +17,21 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.shorts;
|
||||
package org.elasticsearch.index.field.data.shorts;
|
||||
|
||||
import org.apache.lucene.document.NumericField;
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.apache.lucene.index.IndexWriter;
|
||||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.store.RAMDirectory;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.util.Tuple;
|
||||
import org.elasticsearch.util.lucene.Lucene;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import static org.elasticsearch.index.field.FieldDataOptions.*;
|
||||
import static org.elasticsearch.index.field.data.FieldDataOptions.*;
|
||||
import static org.elasticsearch.util.Tuple.*;
|
||||
import static org.elasticsearch.util.lucene.DocumentBuilder.*;
|
||||
import static org.hamcrest.MatcherAssert.*;
|
|
@ -17,20 +17,20 @@
|
|||
* under the License.
|
||||
*/
|
||||
|
||||
package org.elasticsearch.index.field.strings;
|
||||
package org.elasticsearch.index.field.data.strings;
|
||||
|
||||
import org.apache.lucene.index.IndexReader;
|
||||
import org.apache.lucene.index.IndexWriter;
|
||||
import org.apache.lucene.store.Directory;
|
||||
import org.apache.lucene.store.RAMDirectory;
|
||||
import org.elasticsearch.index.field.FieldData;
|
||||
import org.elasticsearch.index.field.data.FieldData;
|
||||
import org.elasticsearch.util.Tuple;
|
||||
import org.elasticsearch.util.lucene.Lucene;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import static org.elasticsearch.index.field.FieldDataOptions.*;
|
||||
import static org.elasticsearch.index.field.data.FieldDataOptions.*;
|
||||
import static org.elasticsearch.util.Tuple.*;
|
||||
import static org.elasticsearch.util.lucene.DocumentBuilder.*;
|
||||
import static org.hamcrest.MatcherAssert.*;
|
Loading…
Reference in New Issue