Hi ,
I am trying to include term vectors during indexing. This is how my piece of code looks
Code:
@Field(index=Index.TOKENIZED , termVector=Field.TermVector.YES)
public String getFirstName()
{
// TODO Auto-generated method stub
return super.getFirstName();
}
Now if you look at the definition of the Field annotation in hibernate_search.jar you'll notice that there is no definition for termVector. Due to this I obviously get a compilation error. I have searched around the web but couldn't find anything concrete. Can anybody please let me know where am I going wrong, or is this a genuine bug?