We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
When added the search generation to the my doc I can see the title in results but there res.excerpt is undefined
res.excerpt
undefined
screenshots:
ref PR: /pull/17
and the object received from res is
res
{ "link": "/guide/exceptions", "title": "Handling Exceptions", "ref": "935580395", "score": 0.21581771408826872, "matchData": { "metadata": { "database": { "content": {} } } } }
settings.yml
GenerateSearchIndex: true
The text was updated successfully, but these errors were encountered:
Have you added the excerpt to the search fields?
Try with the following added to the boostrapper:
.AddSetting(WebKeys.AdditionalSearchResultFields, new List<string> { Keys.Excerpt })
Sorry, something went wrong.
ok that resolved it thanks but can you add this in docs as well I appreciate it. :)
I Just want to ask one more thing can we set this in our settings.yml?
No branches or pull requests
Hi,
When added the search generation to the my doc I can see the title in results but there
res.excerpt
isundefined
screenshots:
![image](https://private-user-images.githubusercontent.com/28777412/292751226-d001daf2-310a-4cb0-91d8-8a7b71a64fe9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxNDk4NzksIm5iZiI6MTcyNDE0OTU3OSwicGF0aCI6Ii8yODc3NzQxMi8yOTI3NTEyMjYtZDAwMWRhZjItMzEwYS00Y2IwLTkxZDgtOGE3YjcxYTY0ZmU5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIwVDEwMjYxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBjMGM0ZDViZGFiOGU0ZDMxOGYyZmY0YTdkZDg5NjEwMDc3NWIwODIyYjBlZjUwOTM5ZTVmMTIxMWM4MmM4Y2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.05iuT9jtRdyD4IG88RGQxrSSEziZkTRAAFp1tAZopeU)
ref PR: /pull/17
and the object received from
res
issettings.yml
The text was updated successfully, but these errors were encountered: