Not a bug Added new resource and it's not showing in search results

AndyB

Well-known member
Affected version
2.1.3 tested here on xenforo.com
I just added this add-on:

1565282305350.webp

When I search for this:

1565282393538.webp

I don't see it in the results:

1565282470224.webp
 
So apparently the issue is the search cache. Perhaps the best solution would be to remove the search cache when enhanced search is used, that way we can get accurate results all the time.
 
Then what's the point in having a cache? 🤔

Just make sure you're not using cached results. Always do a new search.

Also sometimes indexing fails, and then it is re-queued for indexing later.
 
I think most people do, Andy.

We don't tend to get many threads claiming their content hasn't been indexed from anyone else.
 
Steps to reproduce.

1) Do a thread title search for xenforo.
2) Create a new thread with the title xenforo is great.
3) Do a thread title search for xenforo, notice the new thread is not in the results.

The problem is the same search word has been used and due to the xenforo search cache is now showing stale results.

I wonder if Elasticsearch already has a smart cache built it:

https://www.elastic.co/guide/en/elasticsearch/reference/current/shard-request-cache.html

Perhaps the cache currently used in XenForo is no longer needed when using Enhanced search.
 
Last edited:
You can have two usernames on XF. One is a personal one, one is a business one. I have two on here, ozzy47 and OzzModz. ;)
 
Top Bottom