Project

General

Profile

Actions

Bug #1076

closed

incorporate use of cache techniques when searching

Added by Corey Osman almost 13 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

when performing search queries that often take a long time to return results. Its frustrating when you have to wait to for the search to perform the exact same query every time one clicks the back button after looking at a item in the results.

Steps to reproduce.

1. goto reports tab
2. in search box use "resource ~ <name of resource>
3. When presented with the list of reports, click on the details button for any report.
4. Look at results from the details page, then hit the back button
5. Notice that foreman performs the search all over again instead of getting from a cache.

This problem occurs with every tab (hosts, reports, facts, ...), but it takes the longest with reports due to the large number or reports.

The use of memcache or internal caching mechanisms should fix this issue.

Actions #1

Updated by Ohad Levy over 12 years ago

  • Status changed from New to Resolved

my guess you are doing a full text scan instead of using the auto completer search suggestions.

please review http://blog.theforeman.org/2012/01/advance-search-tips-in-foreman.html for more suggestions

Actions

Also available in: Atom PDF