Ticket #1098 (closed task: fixed)

Opened 18 months ago

Last modified 17 months ago

Constrain simple search to only title and description

Reported by: rcave Owned by: rcave
Priority: critical Milestone:
Component: ambra Version: 0.9.1_rc1
Keywords: search Cc:

Description (last modified by rcave) (diff)

Simple search should only search against the title and description. This should make simple search much faster.

Change History

Changed 18 months ago by rcave

  • description modified (diff)
  • summary changed from Constrain simple search to only body, title and creator to Constrain simple search to only title and description

Changed 18 months ago by ssterling

  • owner changed from ssterling to rich

The following has been modified from emails in the search considered harmful ambra-dev thread:

The ambra.xml file contains a configuration String identified by:

ambra.services.search.defaultFields

which currently has the value:

description,title,body,creator

Testing has indicated that a (very temporary) option may give slightly less crippled results. Including only title and description in the aforementioned Ambra configuration String gives times (for single-word, non-wildcard searches) that are ~15% to ~35% of the full search times and gives ~20% to ~40% of the articles returned by a full search.

The wildcard searches show substantial improvements in speed, with times of ~3 to ~5 seconds (as opposed to ~140 to ~200 seconds for a full search) resulting in ~10% to ~20% of the articles given by a full search.

Changed 18 months ago by rcave

  • status changed from new to closed
  • resolution set to fixed

Changes of been made to the production server to include only title and description in simpleSearch.action until underlying problem(s) are resolved.

Changed 17 months ago by anonymous

  • milestone 0.9.1 RC2 deleted

Milestone 0.9.1 RC2 deleted

Note: See TracTickets for help on using tickets.