<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>16474</bug_id>
          
          <creation_ts>2026-10-29 19:06:11 +0000</creation_ts>
          <short_desc>error-report-web: refactor Search box to (1) make it actually work (2) allow more fine-grained queries</short_desc>
          <delta_ts>2026-10-29 19:08:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Error Reporting tool</product>
          <component>Error Reporting Tool</component>
          <version>6.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>6.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Orling">tim.orling</reporter>
          <assigned_to name="Tim Orling">tim.orling</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>107243</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-10-29 19:06:11 +0000</bug_when>
    <thetext>Related to #6541 and #9651.

Because of the sheer size of the database now, the Search box will never complete before the gunicorn (or uwsgi) timeout, which hangs to browser and is a TERRIBLE UX. Enforcing a shorter timeout (10 seconds) in Django works, but will also NEVER return a result, regardless of the input text in the Search box. Finer-grained queries using additional URL terms works fine, especially since halstead indexed the database.

What we need is to look at layerindex-web and see how the Search is working there and borrow ideas to refactor error-report-web. While we are at it, adding conditionals like AND/OR as mentioned in #6541 is a very reasonable ask and layerindex-web already has some of that capability.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>