bcgov / MFIN-Data-Catalogue

The Finance Data Catalogue enables users to discover data holdings at the BC Ministry of Finance and offers information and functionality that benefits consumers of data for business purposes. The product is built using Drupal and adheres to the Government of BC's Core Administrative and Descriptive etadata Standard.
Other
6 stars 0 forks source link

Documentation search #500

Closed mjmcclung closed 4 months ago

mjmcclung commented 5 months ago

OP timer


Describe the bug

Searching for the word 'type' in the documentation search area does not return the 'Creating a metadata record' page with includes the word 'type' 8 times on the page (I was searching to find out more information about the record type choice presented when creating a metadata record).

To reproduce

Steps to reproduce the behaviour:

  1. Click on Documentation
  2. Type the word 'type' into the documentation search area
  3. Click Search https://cat.data.fin.gov.bc.ca/documentation/search?search_api_fulltext=type

Expected behaviour

The search results should include the 'Creating a metadata record' page.

NicoledeGreef commented 5 months ago

@CraigClark is it possible certain pages aren't being indexed for the Docs search? The page noted by @mjmcclung consistently fails to show up in search results. One odd thing I noticed was that the page has only two revisions that are attributed to me. I find this improbable because of the complexity of the page content - I am certain you would have worked on it (nicely annotated screenshots, etc.)

chrislaick commented 5 months ago

@NicoledeGreef @mjmcclung I think this is no longer an issue. When I search "type" in the Documentation search, I see "Creating a metadata record" is the first search result. Can you please verify?

https://cat.data.fin.gov.bc.ca/documentation/search?search_api_fulltext=type

NicoledeGreef commented 4 months ago

@chrislaick Doc search does seem to be returning all hits for "type" now,