TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

41 pointsby rwalkerover 14 years ago

2 comments

jojopotatoover 14 years ago
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 未加载
physcabover 14 years ago
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.