apache / apache/lucene

Document Classifiers to handle numeric fields [LUCENE-7116]

Open
#8,171 3 comments 0 reactions 1 assignee Claimed by @tteofili View on GitHub
affects-version:5.5 legacy-jira-label:classification legacy-jira-label:classifier legacy-jira-priority:Minor module:classification type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

DocumentClassifiers should handle numeric fields.
Knn Document Classifier should be able to handle function queries( like the distance from the numeric value in input) as boost factors on top of the MLT boolean query.
Investigations will follow with tentative design and patch

e.g.
input document has price:5

We can classify the document based on all the ones in the index, in proximity to 5 as the price value.

---
Migrated from [LUCENE-7116](https://issues.apache.org/jira/browse/LUCENE-7116) by Alessandro Benedetti (@alessandrobenedetti), 1 vote, updated Mar 31 2016
Linked issues:
- [SOLR-8871](https://issues.apache.org/jira/browse/SOLR-8871)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.