lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: Bigram term vectors and weights possible with Solr?
Date Wed, 10 Feb 2010 01:07:07 GMT
> I've been looking at the Solr TermVectorComponent
> ( and it
> seems to have
> something similar to this, but it looks to me like this is
> a component
> that is processed at query time (?) and is limited to
> 1-gram terms.

If you use <filter class="solr.ShingleFilterFactory" maxShingleSize="2" outputUnigrams="false"/>
it can give you info about 2-gram terms.

> Also, the tf/idf scores are a little different as they come
> back in integer values as separate components.

In wiki, example output only tf and df values - which are integer - are displayed. You can
calculate tf*idf (double) with these parameters:



View raw message