Permalink
Browse files

revised segment in tf

  • Loading branch information...
1 parent bea9560 commit 52e7b1e89ade576e856d58c9127d544634c38fda @akkumar committed May 14, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/hbasene/index/HBaseIndexStore.java
@@ -244,7 +244,7 @@ void doCommitTermFrequencies() throws IOException {
for (Map.Entry<String, Map<Integer, List<Integer>>> entry : termFrequencies
.entrySet()) {
Put put = new Put(Bytes.toBytes(HBaseneConstants.TERM_FREQ_PREFIX + "/"
- + entry.getKey()));
+ + entry.getKey() + "/" + this.segmentId));//TODO: Factored out as a function
for (final Map.Entry<Integer, List<Integer>> termFrequencyEntry : entry
.getValue().entrySet()) {
put.add(HBaseneConstants.FAMILY_TERMFREQUENCIES, Bytes

0 comments on commit 52e7b1e

Please sign in to comment.