search on title and tag

This topic contains 4 replies, has 2 voices, and was last updated by romain romain 6 years, 3 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #10462
    romain
    romain
    Participant

    Hello
    I try to understand some concept.
    I’ve got some posts with title, text and tag.
    Exemple :
    title: dog / text : it’s a beautiful animal / tag : white

    If I perform a search with title and text parts, it’s ok : I search “dog beautiful”, it’s working.

    But if I perform a search with title and tag, it doesn’t find it : I search “dog white”, it’s not working.

    And I don’t want to activate “Return post tags as results”.

    Is all this normal ?
    Thanx !

    #10463
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    You are looking for the option “Search in terms” on the General Options -> Sources panel: https://i.imgur.com/zj9HRu3.png

    It’s disabled by default, because for bigger databases (over 100 000 posts) may cause a slowdown.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #10469
    romain
    romain
    Participant

    Thank you.
    But this option is already activated.

    In my exemple, when I search for a tag alone like “white”, it find my post.
    But if I search the expression “white dog” (tag + title), it doesn’t find the post…
    Or “white beautiful” (tag + content extract), it doesn’t find the post too.

    Any idea ?

    #10470
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    I guess you have the keyword logic set to “AND” and using the “Regular engine”.

    If so, you have two ways of solving this:
    1. Setting the keyword logic to “OR” – because with the regular engine the logic applies per field base: https://i.imgur.com/NC5yRmn.png
    Therefore the term “white beautiful” with the “AND” logic would have to match one of the fields for both words at the same time.

    2. Using the same keyword logic, but using the index table engine. The index table stores the extracted keywords with occurence data, and is able to connect them regardless of their source location – solving the problem facing the regular engine.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #10471
    romain
    romain
    Participant

    ok, thanks for that, I understand the concept now 😉
    CLOSED

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘search on title and tag’ is closed to new replies.