• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Indexing key value pairs in files - Java

 
Madhumitha Baskaran
Ranch Hand
Posts: 66
  • 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: 11064
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please BeForthrightWhenCrossPostingToOtherSites (StackOverflow).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic