Well, let's see the results of adding &debug=query to the URL, and let's
see the actual query.

you have to re-index after the change.

You MUST be using phrases exclusively, i.e. name:"Erick Erickson".
name:(Erick Erickson) will
not mind the gap since the latter is not a phrase.

You may well be sending your terms through an eDismax-style handler that is
matching across
fields you don't expect.

In short, you haven't given us much to go on here, please add some details.

Best,
Erick


On Sun, Feb 9, 2014 at 6:59 PM, Kashish <nirali...@gmail.com> wrote:

> Hi,
>
> I read about 'positionIncrementGap'. The purpose of it is very clear to me.
> I use eDismax query with my multivalued fields as
>
>   <fieldType name="text_general_Title" class="solr.TextField"
> positionIncrementGap="100">
>       <analyzer type="index">
>         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>         <filter class="solr.StopFilterFactory" ignoreCase="true"
> words="stopwords.txt" enablePositionIncrements="true" />
>
>
>         <filter class="solr.LowerCaseFilterFactory"/>
>       </analyzer>
>       <analyzer type="query">
>         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
>         <filter class="solr.StopFilterFactory" ignoreCase="true"
> words="stopwords.txt" enablePositionIncrements="true" />
>
>         <filter class="solr.LowerCaseFilterFactory"/>
>       </analyzer>
>     </fieldType>
>
> I made sure that all the points mentioned by Erik is followed in this
> thread,
>
> http://lucene.472066.n3.nabble.com/positionIncrementGap-in-schema-xml-td488338.html
>
> But still i get the problem which Sanraj faces. Can anyone help me? I don't
> know where am going wrong.
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/positionIncrementGap-in-schema-xml-Doesn-t-seem-to-work-tp4116405.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to