Issues with search using API and web

polkaroo's Avatar

polkaroo

05 Oct, 2011 02:11 AM via web

Interesting issue. Doing the following search produces different results.

underworld - rise of the lycans (not found)
underworld rise of the lycans (found)

Does it work this way by design?

  1. 2 Posted by polkaroo on 05 Oct, 2011 03:32 AM

    polkaroo's Avatar

    To expand on this, I have troubles searching using the following strings for all of these movies that are in the database:

    Afro Samurai - Resurrection
    Batman Beyond - Return of Joker
    District B13 - Ultimatum
    Family Guy - Dark Side/
    Family Guy - Blue Harvest/
    Fantastic 4 - Rise of the Silver Surfer
    Final Fantasy VII - Last Order
    Green Lantern - Emerald Knights/
    Harry Potter and the Deathly Hallows - Part 1
    Death Note - L - Change the World
    Punisher - War Zone
    Resident Evil - Afterlife/
    Resident Evil - Degeneration/
    Transformers - Dark Of The Moon/
    Transformers - Revenge of the Fallen/
    Underworld - Rise of the Lycans/
    X-Men Origins - Wolverine/

  2. Support Staff 3 Posted by travisbell on 05 Oct, 2011 05:48 PM

    travisbell's Avatar

    Hi,

    I’ve attached ticket #9 to this thread. It deals with this issue and is known to be a problem. Basically, the dash (-) is turning that query into:

    “underworld” WITHOUT “rise of the lycans”

  3. 4 Posted by polkaroo on 25 Nov, 2011 03:25 AM

    polkaroo's Avatar

    Ah. OK. Having ":" works, but if I include this in the name, my client (xbmc) messes up the directory name. Difficult to fix?

  4. 5 Posted by MovieHolics on 28 Nov, 2011 08:21 PM

    MovieHolics's Avatar

    Hi Support Stuff,
    is there any indication, when the ticket #9 will be processed?

  5. Support Staff 6 Posted by travisbell on 29 Nov, 2011 04:03 PM

    travisbell's Avatar

    Hi MovieHolics,

    I’ll try to have a look at this issue late this week. I’ll update this thread with details.

  6. 7 Posted by dape82 on 11 Jan, 2012 08:12 PM

    dape82's Avatar

    Hello travisbell,

    please let me know which programming language you are using. Maybe I can show you an example of the search algorithm mentioned in #170 ( NOT the SoundEx algorithm).

    Regards,
    Daniel

    (Sorry I did not find any possibility to PN you)

  7. Support Staff 8 Posted by travisbell on 11 Jan, 2012 09:31 PM

    travisbell's Avatar

    We’re using Solr to handle all of our searches at the moment and the Sunspot library in Ruby.

    We do a couple of things like:

    • Boost exact matches to the top
    • Use ngram searches for partial matches

Reply to this discussion

Internal reply

Formatting help or Preview

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.