lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Solanki <nitinml...@gmail.com>
Subject Re: Frequency of Suggestion are varying from original Frequency in index
Date Mon, 09 Mar 2015 18:27:27 GMT
Hi ale42,
              Yes. I am using the same field (gram_ci) to make a query and
also using the same field(gram_ci) to build suggestion on it.

Here is the explanation:
I have a 2 fields - gram and gram_ci.
where gram field sets to stored = true and index = true while gram_ci field
sets to stored=false but index = true.
and making copy field of gram into gram_ci.

Both gram and gram_ci fields using same fieldType -
StandardTokenizerFactory and ShingleFilterFactory for both index and query.
Only the difference is that gram_ci is using lowercaseFilter and gram
doesn't. And I am making query on gram_ci not on gram.



On Mon, Mar 9, 2015 at 3:24 PM, ale42 <
alexandre.fayeaux@etu.esisar.grenoble-inp.fr> wrote:

> When you make a query, does it use the same field type as the field that
> you
> are using to build suggestions?
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Frequency-of-Suggestion-are-varying-from-original-Frequency-in-index-tp4190927p4191813.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message