admin/analysis is your friend here. It'll tell you exactly what gets into
your
index and the transformations defined by each step along the way.

As "Developer" pointed out, you're using the ngram filter, that's almost
surely
what's causing the matches you're seeing.

FWIW,
Erick


On Tue, Oct 22, 2013 at 2:04 AM, Developer <bbar...@gmail.com> wrote:

> For exact phrase match you can wrap the query inside quotes but this will
> perform the exact match and it wont match other results.
>
> The below query will match only : Okkadu telugu movie stills
>
>
> http://localhost:8983/solr/core1/select?q=%22okkadu%20telugu%20movie%20stills%22
>
> Since you are using Edge N Gram filter, it produces so many tokens (as
> below). You might not get the desired output. You can try using shingle
> factory with standard analyzer instead of using edge n gram filter.
>
> o
> [6f]
> 0
> 26
> 1
> 1
> word
>
> ok
> [6f 6b]
> 0
> 26
> 1
> 1
> word
>
> okk
> [6f 6b 6b]
> 0
> 26
> 1
> 1
> word
>
> okka
> [6f 6b 6b 61]
> 0
> 26
> 1
> 1
> word
>
> okkad
> [6f 6b 6b 61 64]
> 0
> 26
> 1
> 1
> word
>
> okkadu
> [6f 6b 6b 61 64 75]
> 0
> 26
> 1
> 1
> word
>
> okkadu
> [6f 6b 6b 61 64 75 20]
> 0
> 26
> 1
> 1
> word
>
> okkadu t
> [6f 6b 6b 61 64 75 20 74]
> 0
> 26
> 1
> 1
> word
>
> okkadu te
> [6f 6b 6b 61 64 75 20 74 65]
> 0
> 26
> 1
> 1
> word
>
> okkadu tel
> [6f 6b 6b 61 64 75 20 74 65 6c]
> 0
> 26
> 1
> 1
> word
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Exact-Match-Results-tp4096816p4096906.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to