forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
All star tree indexing commits as of 24aug (#35)
* Changes to handle count and avg metrics as part of star tree mapping Signed-off-by: Bharathwaj G <bharath78910@gmail.com> * addressing review comments Signed-off-by: Bharathwaj G <bharath78910@gmail.com> * Adding timestamp rounding support in star tree Signed-off-by: Bharathwaj G <bharath78910@gmail.com> * removing count as required metric Signed-off-by: Bharathwaj G <bharath78910@gmail.com> * addressing comments Signed-off-by: Bharathwaj G <bharath78910@gmail.com> * addressing comments Signed-off-by: Bharathwaj G <bharath78910@gmail.com> * file formats rebase Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com> * nit fixes Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com> * added file format tests Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com> * writer versioning and addressing comments Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com> * fixes in merge, aggregators, added tests, addressed comments Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com> * doc values assertions Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com> * removing additional sorted numeric method Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com> * rebase fixes Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com> * max doc fixes Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com> * metadata to have total star tree docs Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com> * adding half hour and quarter hour calendar intervals Signed-off-by: Bharathwaj G <bharath78910@gmail.com> * adding tests Signed-off-by: Bharathwaj G <bharath78910@gmail.com> * separating child star node from children Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com> * merge conflicts for file formats Signed-off-by: Bharathwaj G <bharath78910@gmail.com> * Doc count field changes in star tree Signed-off-by: Bharathwaj G <bharath78910@gmail.com> * refactoring and addressing comments Signed-off-by: Bharathwaj G <bharath78910@gmail.com> * refactoring and fixing bugs Signed-off-by: Bharathwaj G <bharath78910@gmail.com> --------- Signed-off-by: Bharathwaj G <bharath78910@gmail.com> Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com> Co-authored-by: Sarthak Aggarwal <sarthagg@amazon.com>
- Loading branch information
1 parent
2301adf
commit fd0d4df
Showing
80 changed files
with
6,965 additions
and
943 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
server/src/main/java/org/opensearch/index/codec/composite/DocValuesProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
* | ||
* The OpenSearch Contributors require contributions made to | ||
* this file be licensed under the Apache-2.0 license or a | ||
* compatible open source license. | ||
*/ | ||
|
||
package org.opensearch.index.codec.composite; | ||
|
||
import org.apache.lucene.codecs.DocValuesProducer; | ||
|
||
/** | ||
* An interface that provides access to document values for a specific field. | ||
* | ||
* @opensearch.experimental | ||
*/ | ||
public interface DocValuesProvider { | ||
|
||
// /** | ||
// * Returns the sorted numeric document values for the specified field. | ||
// * | ||
// * @param fieldName The name of the field for which to retrieve the sorted numeric document values. | ||
// * @return The sorted numeric document values for the specified field. | ||
// * @throws IOException If an error occurs while retrieving the sorted numeric document values. | ||
// */ | ||
// SortedNumericDocValues getSortedNumeric(String fieldName) throws IOException; | ||
|
||
/** | ||
* Returns the DocValuesProducer instance. | ||
* | ||
* @return The DocValuesProducer instance. | ||
*/ | ||
DocValuesProducer getDocValuesProducer(); | ||
} |
Oops, something went wrong.