TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Store and query numeric intervals in Lucene (Greplin open source)

41 点作者 rwalker超过 14 年前

2 条评论

jojopotato超过 14 年前
Please excuse my ignorance, but can someone tell me why this is being voted up so quickly?<p>Lucene already has range queries, is this just enumerating all of the values within a range for the fields? It looks like they don't index these values either in the examples.<p>Edit: Not that this should take away from adding to Lucene, for that I thank you :)
评论 #1976873 未加载
physcab超过 14 年前
One application that this might be useful for is an IP lookup. Typically they're stored in block ranges and querying can be tricky, especially if its an offline operation done with hadoop. Could also be counter-productive, but an interesting thought.