This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Indexing key value pairs in files - Java

 
Madhumitha Baskaran
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have checked Lucene's way of indexing files. But I would need to index key value pairs. Like I have many (word,sentence) combinations in a single file or few number of files. Most of the cases, it is in the single file.

I would like to search the sentence based on the word which I use for searching. What's the mechanism that I need to use with Java?

Something similar to Sequence file in Hadoop. Without parsing through entire data, we should be able to get the value for every key available.
 
Maneesh Godbole
Saloon Keeper
Posts: 10971
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[Maneesh]Deleted response after finding about the crossposting.
 
Kemal Sokolovic
Bartender
Posts: 825
5
Java Python Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please BeForthrightWhenCrossPostingToOtherSites (StackOverflow).
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic