TerryG
TerryG

Reputation: 315

Sphinx Match Modes

I have sphinx setup and am querying a database just fine. Playing with the match modes, I cannot find the correct one.

For the example query, let's use 'batman'. This should match:

'Batman' 'Batman: The Dark Knight'

However, it only matches 'Batman'

And a separate search 'dark knight' is required to match 'Batman: The Dark Knight'.

I am using search mode SPH_MATCH_EXTENDED (though I have tried all of them).

Index:

  source                  = src1
    path                    = /var/lib/sphinx/test1
    docinfo                 = extern
    charset_type            = sbcs
    enable_star = 1
    min_prefix_len = 3

How can I make this happen?

Upvotes: 0

Views: 191

Answers (1)

TerryG
TerryG

Reputation: 315

The issue here was that I wasn't returning enough results to be able to see what I was looking for. Whoops!

Upvotes: 1

Related Questions