• Hi Mikko, your plugin seems to be great, many options, and so well programmed.
    So don’t feel compelled to reply here, but if you do maybe you have an idea why
    despite these good settings relevanssi doesn’t find the relevant content, not even when it’s the words in the TITLE?

    AND require all terms
    Relevance order

    Element Weight
    Post content
    1
    Post titles
    5
    Comment text
    0.75

    610 documents in the index.
    233029 terms in the index.
    6310 is the highest post ID indexed.

    Index unindexed posts: Counting posts… 0 posts found.

    So, to test it, I search for two words contained in a post title.
    Relevanssi doesn’t list the post, instead a lot of unrelated stuff where just one of the two words is.

    So then I searched for the same two words but with “” (exact match)
    Again, Relevanssi doesn’t list the post that has these words right in the title.

    Isn’t that what it should list first?

    I didn’t click through all result pages to see if it shows it somewhere later, because search logic/settings require relevanssi to list this post FIRST, no?
    It certainly wasn’t listed anywhere on the first few result pages.

    Has anyone here (not only Mikko) any idea why not?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Are those perhaps stopwords? Can you show me the post that cannot be found?

    Title weight 5 is not much; if it’s just a weighting issue, upping the title weight to 50 may solve the problem.

    Did the phrase query make the list of results shorter? Are those perhaps very common words?

    So – it depends. Without knowing more details, it’s hard to be more specific.

    Thread Starter CoolDavidoff

    (@cooldavidoff)

    Mikko you are such a responsive, down-to-the-point effective, and kind author/coder!! I don’t know of anyone else like you! And I didn’t expect a reply from you, with your large fan base I was prepared to wait for a user to respond.

    – no stopword, no
    – upped to 50 still doesn’t find it, no
    – phrase search nicely only finds the phrase, yes
    – are you sure phrase search includes the title?
    – it can’t find the post that has the two words in the title, as phrase as well
    – the first word is the most common word, yes, the second word you don’t list as common at all and I don’t imagine it to be all too common to be ignored without being in the stop list
    – I don’t want to be seen as spammer, posting a link here, I sent you a private email instead, just because it might interest you to see why it can’t find such post. does it? ??

    I’d also love to contribute to your fantastic work a teeny tiny bit with a suggestion: how about “entertaining” the user with a count-up while waiting for the results?
    Better even, if theme-independent possible(?), showing results as and when they get found (maybe ajax?).
    Reason I suggest these: even on a vps it really takes long before anything happens, users might leave thinking “nothing happening”, for shared hosting people it must be worse. So I’d try at least to tell users “2 results found so far, continuing…”. I saw in some plugins (i think “ajax”) allow that?

    Plugin Author Mikko Saari

    (@msaari)

    Phrase search does include the title.

    But yeah, the problem is definitely caused by the really common search terms. The second word is very common as well, there are 17 pages of results for that word. So yes, a common word.

    Currently the correct post is on page 5 without the phrase, and page 2 with the phrase. The thing is – the post isn’t really a good results for those search terms. Many posts on your site are simply better, according to Relevanssi.

    There are two approaches to fix this. Either you can increase the title weight until the post appears on page one, or you can add some extra code that will give bonus boost for exact title matches. You can see the documentation here: https://www.relevanssi.com/knowledge-base/adding-extra-boost-exact-title-matches/

    Relevanssi doesn’t really do the output – it’s all up to your theme. It’s definitely possible to do the search with Ajax, you can create an Ajax action that invokes Relevanssi and fetches the results. But it’s outside the scope of Relevanssi.

    Thread Starter CoolDavidoff

    (@cooldavidoff)

    Ah great info, thank you!
    >But it’s outside the scope of Relevanssi.

    Oh, i thought it would be, keeping a user on tne site when waiting for his search results makes him think “nothing happens here, I leave” ?

    I know from myself – and from google’s ambition and pretty much every site out there – that I don’t wait if I don’t see anything happening when I clicked enter. I leave.
    ??
    Hence why i thought my suggestion is an almost necessary enhancement of your great plugin, no?
    Well, no need to discuss of course, you are the author, lol. But yeah, few will wait as long as i had to wait. As user, I wouldn’t have stayed. ??

    Never mind, I gonna rate it 5 stars (if they let me here?!)

    Plugin Author Mikko Saari

    (@msaari)

    Sure, it’s a good thing for search experience, but it’s outside the scope of what Relevanssi does. The way the search results are presented to user is the theme’s responsibility. Relevanssi doesn’t have any access to that. Relevanssi’s responsibility ends when Relevanssi hands WordPress the list of posts it finds.

    Thus – I agree it’s a good thing, but it’s something Relevanssi simply can’t do. It needs to be done in the theme. It’s also really difficult to do, without implementing some kind of ajax search, which is a whole different ballpark.

    But Relevanssi can support an ajax search, if a theme developer wants to implement one. So Relevanssi is already doing pretty much all it can for this.

    A five-star review would be welcome, yes.

    Thread Starter CoolDavidoff

    (@cooldavidoff)

    You got it immediately yesterday Mikko ??
    https://www.ads-software.com/support/plugin/?p=9773102

    Plugin Author Mikko Saari

    (@msaari)

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Looks so great but why not find it?’ is closed to new replies.