Files
ragflow/internal/common/constants.go
qinling0210 c960dc2a4c Refine handling of POST /api/v1/datasets/search in GO (#15583)
### What problem does this PR solve?

Refine handling of POST /api/v1/datasets/search in GO

### Type of change

- [x] Refactoring
2026-06-08 11:49:37 +08:00

14 lines
407 B
Go

package common
const (
// PAGERANK_FLD is the field name for pagerank score
PAGERANK_FLD = "pagerank_fea"
// TAG_FLD is the field name for tag features
TAG_FLD = "tag_feas"
// MAX_RESULT_WINDOW is the maximum result window for ES
MAX_RESULT_WINDOW = 10000
// SearchAfterBatchSize caps how many hits one Elasticsearch
// request can return per search_after iteration.
SearchAfterBatchSize = 1000
)