lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Solr - Mutivalue field search on different elements
Date Tue, 27 Dec 2011 15:44:22 GMT
> I have changed my multiValued field to single value filed..
> and now my field
> appears as below
> -------------------------------------
> 1s: This is very nice day. 3s: Christmas is about come and
> christmas
> 4s:preparation is just on
> -------------------------------------
> but by doing this, i don't get my search : "christmas
> preparation" to be
> matched on my search query , although i had set my
> positionIncrementGap to
> 0.  any ideas why it is not matching ?? 

So you concatenated your sentences. If you could delete 1s, 2s, .. 4s too, both search with
phrase and highlighting will work.

At the end, your field value would be : 
-------------------------------------
This is very nice day. Christmas is about come and christmas preparation is just on
-------------------------------------

Mime
View raw message