mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bin lin <douliushanm...@126.com>
Subject Re: Creating vectors from a Lucene Index
Date Wed, 29 Jun 2011 05:52:02 GMT
Thank you. Samarakoon. I'll try it now. Hope it can work.








Lahiru Samarakoon <lahiruts <at> gmail.com> writes:

> 
> When you are adding fields to documents in creating the lucene index, you
> have to add the content mentioned in red. You have to rebuilt the lucene
> index.
> 
> d.add(new Field("fieldName", fieldContent, Field.Store.YES,
> Field.Index.ANALYZED,Field.TermVector.WITH_POSITIONS))
> 





Mime
View raw message