You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.
Is your feature request related to a problem? Please describe.
When I search via GUI or API for text I know is in a tag for a code project but not in the description text, I do not get said code project. I suspect this is because elastic search is not including tags in the text search????
Describe the solution you'd like
I would like search to return text results even if text is only in a tag. This will likely require changing elastic search to include text in tag field of input JSONs.
Describe alternatives you've considered
Alternatively, users could potentially select whether the search functionality is applied to title, description, tag, or everything.
Additional context
I work on code.nasa.gov. We have greatly expanded the number of tags on each code project through natural language processing. Many A.I.-generated tags are higher order concepts that (1) don't appear in the description text (2) are more likely to pop into users' heads as something they'd want to find.
Value to end-user
Users will be more likely to find relevant code projects if we can match their higher order conceptual needs to be tag text.
The text was updated successfully, but these errors were encountered:
Thanks for the issue. Can you give an example for tags that are showing in search? I believe that the tags are searchable, but @bjbhattGSA can clarify.
The search does take into account the tags. The search uses a multi_match query type. I suspect that the weight given to the fields needs to be tweaked to return better results for exact matches on fields.
I think this can be done with the weights on the keyword fields.
The API has a terms endpoint where you can search for specific terms and term types. Assuming that crew and lift support is really meant to be crew and life support there seems to be 26 instances of the term. There wasn't an exact match when searching normally, so the issue still stands.
Is your feature request related to a problem? Please describe.
When I search via GUI or API for text I know is in a tag for a code project but not in the description text, I do not get said code project. I suspect this is because elastic search is not including tags in the text search????
Describe the solution you'd like
I would like search to return text results even if text is only in a tag. This will likely require changing elastic search to include text in tag field of input JSONs.
Describe alternatives you've considered
Alternatively, users could potentially select whether the search functionality is applied to title, description, tag, or everything.
Additional context
I work on code.nasa.gov. We have greatly expanded the number of tags on each code project through natural language processing. Many A.I.-generated tags are higher order concepts that (1) don't appear in the description text (2) are more likely to pop into users' heads as something they'd want to find.
Value to end-user
Users will be more likely to find relevant code projects if we can match their higher order conceptual needs to be tag text.
The text was updated successfully, but these errors were encountered: