1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest Make it possible to search multiple alternative tags (OR search) at once

Discussion in 'Closed Suggestions' started by jauburn, Aug 7, 2015.

  1. jauburn

    jauburn Well-Known Member

    I'd like to see the Search Tags page be able to search multiple tags at once. This becomes particularly important when, as in the screen shot below, you want to search all possible permutations of a phrase or keyword (elastic search and elasticsearch) rather than having to search one at a time.

    Currently when you do this, you can put two (or more) tags in the search field, but unless a thread contains *both* tags, you won't get any results.

    I tried using the Boolean "or," but that didn't work.

    searchtags.png
     
    rafass, Alfa1 and Xon like this.
  2. Xon

    Xon Well-Known Member

    It doesn't look like the UI supports it. The actual search backend should however.

    I would almost consider that a bug report.
     
    jauburn likes this.
  3. Mike

    Mike XenForo Developer Staff Member

    I think this thread needs to be renamed because the report isn't exactly for searching multiple tags -- you can do that right now. It's for "OR" searching tags specifically. The tag search page isn't designed to do that; it's specifically a "multiplicative" (AND) search.

    I would note that you can effectively do this via standard keyword search (as tag text is indexed there).
     
  4. jauburn

    jauburn Well-Known Member

    Feel free to rename the thread.

    You say that one can search multiple tags. How? I tried, as in the screenshot above, and I got no results. Searching one tag at a time, though, produced results.

    Addendum: Oh, never mind. I see that you're saying it's an AND search only. My request stands, though, because as in the example in the screenshot, you're going to have people creating multiple versions of essentially the same tag, so I would think it's time-consuming to have users who really just want to pull up results for all threads tagged with some variation of the same thing to have to perform separate searches.
     
  5. Alfa1

    Alfa1 Well-Known Member

    Wouldn't it make more sense4 to make it an OR search by default? An AND search would make sense if the available tags to filter on would be visible after an initial search. (which goes beyond the scope of the UI)
     
    jauburn likes this.
  6. Daniel Hood

    Daniel Hood Well-Known Member

    @Mike is saying that you can search "or" by using the keywords area rather than the tags area due to the fact that tags are included as part of the title in the actual index (the tags influence relevance more than the post content fyi). An example of this would be "elasticsearch |(+elastic +search)", I'll agree this isn't incredibly user friendly.

    [Edit] "elasticsearch |(+elastic +search)" didn't work exactly how I expected as both 'elastic' and 'search' don't seem to be required in the second part of that.
     
    jauburn likes this.
  7. Alfa1

    Alfa1 Well-Known Member

    Confusing to the end user seems a better description. I don't think anyone will use it. Plus, when you search titles you will often get polluted results. The beauty of tags is that (if applied correctly) you will get pure results.
     
    rafass, Veer, Xon and 2 others like this.

Share This Page