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 <[email protected]> * addressing review comments Signed-off-by: Bharathwaj G <[email protected]> * Adding timestamp rounding support in star tree Signed-off-by: Bharathwaj G <[email protected]> * removing count as required metric Signed-off-by: Bharathwaj G <[email protected]> * addressing comments Signed-off-by: Bharathwaj G <[email protected]> * addressing comments Signed-off-by: Bharathwaj G <[email protected]> * file formats rebase Signed-off-by: Sarthak Aggarwal <[email protected]> * nit fixes Signed-off-by: Sarthak Aggarwal <[email protected]> * added file format tests Signed-off-by: Sarthak Aggarwal <[email protected]> * writer versioning and addressing comments Signed-off-by: Sarthak Aggarwal <[email protected]> * fixes in merge, aggregators, added tests, addressed comments Signed-off-by: Sarthak Aggarwal <[email protected]> * doc values assertions Signed-off-by: Sarthak Aggarwal <[email protected]> * removing additional sorted numeric method Signed-off-by: Sarthak Aggarwal <[email protected]> * rebase fixes Signed-off-by: Sarthak Aggarwal <[email protected]> * max doc fixes Signed-off-by: Sarthak Aggarwal <[email protected]> * metadata to have total star tree docs Signed-off-by: Sarthak Aggarwal <[email protected]> * adding half hour and quarter hour calendar intervals Signed-off-by: Bharathwaj G <[email protected]> * adding tests Signed-off-by: Bharathwaj G <[email protected]> * separating child star node from children Signed-off-by: Sarthak Aggarwal <[email protected]> * merge conflicts for file formats Signed-off-by: Bharathwaj G <[email protected]> * Doc count field changes in star tree Signed-off-by: Bharathwaj G <[email protected]> * refactoring and addressing comments Signed-off-by: Bharathwaj G <[email protected]> * refactoring and fixing bugs Signed-off-by: Bharathwaj G <[email protected]> --------- Signed-off-by: Bharathwaj G <[email protected]> Signed-off-by: Sarthak Aggarwal <[email protected]> Co-authored-by: Sarthak Aggarwal <[email protected]>
- 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.