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

Enhanced Search returning media instead of threads first

Discussion in 'Enhanced Search Support' started by popr, Oct 15, 2015.

  1. popr

    popr Active Member

    For a lot of search queries on my forum, elastic search is returning mostly media instead of threads. I would prefer it to list the threads first, or give them some kind of boost. This is verging on being non-functional because we have over 250,000 media and the results are not pretty for a default search of only 1 word. Is there anything or any setting that can change this behavior?

    For example, if I search for "christmas", the entire first page of results are pictures that are titled "christmas." None of the threads titled christmas show up on the first page (and there are hundreds).
     
  2. Mike

    Mike XenForo Developer Staff Member

    What sort of ordering are you using? Just pure relevance, or date weighted relevance? There isn't really a built-in way to do content-type based boosting. You may want to look into enabling date-weighted relevance (which likely requires a script to be copied into your ES directory).

    But if that doesn't help it, there isn't really any further control unfortunately.
     

Share This Page