You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.
I use ElasticSearch-v6.0.0, and the luence version is 7.0.1, of course, the luke can open the index, but it has some issues, maybe it's my fault。here is the description:
ES Mapping
I just show the long type for createTime field: "createTime": {"type": "long"}
Open Index With Luke
it shows the Term Count =0 in createTime field, it has some error it log: Caused by: java.lang.RuntimeException: field createTime not found at org.apache.lucene.misc.HighFreqTerms.getHighFreqTerms(HighFreqTerms.java:104) ~[lucene-misc-8.6.1.jar:8.6.1 6e11a1c3f0599f1c918bc69c4f51928d23160e99 - houstonputman - 2020-08-10 13:29:13] at org.apache.lucene.luke.models.overview.TopTerms.getTopTerms(TopTerms.java:56) ~[lucene-luke-8.6.1.jar:8.6.1 6e11a1c3f0599f1c918bc69c4f51928d23160e99 - houstonputman - 2020-08-10 13:29:12] at org.apache.lucene.luke.models.overview.OverviewImpl.getTopTerms(OverviewImpl.java:165) ~[lucene-luke-8.6.1.jar:8.6.1 6e11a1c3f0599f1c918bc69c4f51928d23160e99 - houstonputman - 2020-08-10 13:29:12]
The text was updated successfully, but these errors were encountered:
The Luke can't show the field of the term count for Long、Date type.
Long or Date type is not "term" (they are represented by different data structure from terms), so can't count their occurrences as term. Once you understand Lucene internal a little, it would be very clear to you why the error occurs.
Nonetheless, the runtime exception might be confusing for Lucene newbies; we should have better message in the UI.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I use ElasticSearch-v6.0.0, and the luence version is 7.0.1, of course, the luke can open the index, but it has some issues, maybe it's my fault。here is the description:
I just show the long type for createTime field:
"createTime": {"type": "long"}
it shows the Term Count =0 in createTime field, it has some error it log:
Caused by: java.lang.RuntimeException: field createTime not found at org.apache.lucene.misc.HighFreqTerms.getHighFreqTerms(HighFreqTerms.java:104) ~[lucene-misc-8.6.1.jar:8.6.1 6e11a1c3f0599f1c918bc69c4f51928d23160e99 - houstonputman - 2020-08-10 13:29:13] at org.apache.lucene.luke.models.overview.TopTerms.getTopTerms(TopTerms.java:56) ~[lucene-luke-8.6.1.jar:8.6.1 6e11a1c3f0599f1c918bc69c4f51928d23160e99 - houstonputman - 2020-08-10 13:29:12] at org.apache.lucene.luke.models.overview.OverviewImpl.getTopTerms(OverviewImpl.java:165) ~[lucene-luke-8.6.1.jar:8.6.1 6e11a1c3f0599f1c918bc69c4f51928d23160e99 - houstonputman - 2020-08-10 13:29:12]
The text was updated successfully, but these errors were encountered: