document-dataply 0.0.9-alpha.9 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,6 +110,31 @@ export declare class DocumentDataplyAPI<T extends DocumentJSON> extends DataplyA
110
110
  * @returns The verbose query object
111
111
  */
112
112
  verboseQuery<U extends Partial<DocumentDataplyQuery<T>>, V extends DataplyTreeValue<U>>(query: Partial<DocumentDataplyQuery<U>>): Partial<DocumentDataplyQuery<V>>;
113
+ /**
114
+ * B-Tree 타입 인덱스의 선택도를 평가하고 트리에 부여할 조건을 산출합니다.
115
+ * 필드 매칭 여부를 검사하고, 연속된(Prefix) 조건에 대해 점수를 부여하며 Start/End 바운드를 구성합니다.
116
+ *
117
+ * @param indexName 평가할 인덱스의 이름 (예: idx_nickname_createdat)
118
+ * @param config 등록된 인덱스의 설정 객체
119
+ * @param query 쿼리 객체
120
+ * @param queryFields 쿼리에 포함된 필드 목록 집합
121
+ * @param treeTx 조회를 수행할 B-Tree 트랜잭션 객체
122
+ * @param orderByField 정렬에 사용할 필드명 (옵션)
123
+ * @returns B-Tree 인덱스 후보 정보 (조건, 점수, 커버된 필드 등), 적합하지 않으면 null
124
+ */
125
+ private evaluateBTreeCandidate;
126
+ /**
127
+ * FTS (Full Text Search) 타입 인덱스의 선택도를 평가합니다.
128
+ * 'match' 연산자가 쿼리에 존재하는지 확인하고, 검색용 토큰으로 분해(tokenize)하여 점수를 매깁니다.
129
+ *
130
+ * @param indexName 평가할 인덱스의 이름
131
+ * @param config 등록된 인덱스의 설정 객체
132
+ * @param query 쿼리 객체
133
+ * @param queryFields 쿼리에 포함된 필드 목록 집합
134
+ * @param treeTx 조회를 수행할 B-Tree 트랜잭션 객체
135
+ * @returns FTS 인덱스 후보 정보 (조건, 점수, 분석된 토큰 등), 적합하지 않으면 null
136
+ */
137
+ private evaluateFTSCandidate;
113
138
  /**
114
139
  * Choose the best index (driver) for the given query.
115
140
  * Scores each index based on field coverage and condition type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "document-dataply",
3
- "version": "0.0.9-alpha.9",
3
+ "version": "0.0.9",
4
4
  "description": "Simple and powerful JSON document database supporting complex queries and flexible indexing policies.",
5
5
  "license": "MIT",
6
6
  "author": "izure <admin@izure.org>",
@@ -42,7 +42,7 @@
42
42
  "dataply"
43
43
  ],
44
44
  "dependencies": {
45
- "dataply": "^0.0.24-alpha.7"
45
+ "dataply": "^0.0.24"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/jest": "^30.0.0",