Results 1 to 1 of 1
Thread: Changing the index
- 09-15-2010, 06:28 PM #1
Member
- Join Date
- Sep 2010
- Posts
- 1
- Rep Power
- 0
Changing the index
Hi everybody!!!
I'm working with lucene but I have a problem.
In the past I had an index with the field "content" indexed with a sentence similar to this:
Now I have to change my index for a bigger one, but now the field "content" is a string. As you can imagine, I use the termvectors to get an array of terms and an array of frequencies for each document. But now, I really don't know how to search in that new field.Java Code:doc.add(new Field ("content", new FileReader(f), Field.TermVector.YES));
Could anybody guide me?
Thanks.
Similar Threads
-
Changing binding when changing the underlying model object
By ChrisNY in forum NetBeansReplies: 0Last Post: 08-14-2010, 10:09 AM -
Index of an int
By wake in forum New To JavaReplies: 4Last Post: 02-24-2010, 01:54 PM -
Invalid Index
By Allgorythm in forum New To JavaReplies: 1Last Post: 02-16-2010, 12:51 PM -
I can't run my index.jsp
By gissah in forum New To JavaReplies: 0Last Post: 03-23-2009, 01:42 AM -
Replacing at an index
By bugger in forum New To JavaReplies: 2Last Post: 01-29-2008, 06:33 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks