<?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>8677</bug_id>
          
          <creation_ts>2015-11-11 15:58:10 +0000</creation_ts>
          <short_desc>Layer index: allow searching the metadata</short_desc>
          <delta_ts>2026-04-30 15:34:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Layer Index</product>
          <component>Layer Index</component>
          <version>6.99</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>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>akuster</cc>
    
    <cc>brian.avery</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>mingli.yu</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>tim.orling</cc>
    
    <cc>william.lyu</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56385</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-11-11 15:58:10 +0000</bug_when>
    <thetext>For the purposes of being able to find layers using certain variables or constructs (so we can potentially see how people are using the system), it would be nice if we could support searching the actual metadata in each layer in the layer index.

I&apos;m assuming we&apos;d use some off-the-shelf full-text indexing solution for this, though I wonder if it would mean we couldn&apos;t support regex searches.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85934</commentid>
    <comment_count>1</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2019-12-22 20:48:47 +0000</bug_when>
    <thetext>Not sure if this works or if we want to implement this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85954</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2019-12-22 22:25:15 +0000</bug_when>
    <thetext>This has not yet been implemented. I think it would still be useful though. Low/Future correctly reflects the priority.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98280</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2024-02-22 18:59:01 +0000</bug_when>
    <thetext>Our current search is based entirely on what is available in the admin interface and the default REST API coming from Django rest framework https://www.django-rest-framework.org/

Some more capable searches could be done with https://django-filter.readthedocs.io/en/stable/ but that does not come for free. Some additional code would need to be written and would likely be brittle?

There is also some support that would need to be integrated and assumes a Postgres backend, which is not what we are running in production:
https://docs.djangoproject.com/en/5.0/ref/contrib/postgres/search/

Actual full text search would probably need something more like ElasticSearch 
https://django-elasticsearch-dsl.readthedocs.io/en/latest/
which would add additional infrastructure needs (adding an actual Elastic Search or Elastic Stack server/service).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105329</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-04-30 15:34:21 +0000</bug_when>
    <thetext>Still valid. Moving to 6.99.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>