Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
configuration:autocomplete [2023/05/08 12:11] – demiankatz | configuration:autocomplete [2023/05/08 12:12] (current) – [Ideas for New Handlers] demiankatz |
---|
The current default autocomplete handler uses a fairly simple Solr lookup. Here are some more sophisticated approaches which may be worth pursuing: | The current default autocomplete handler uses a fairly simple Solr lookup. Here are some more sophisticated approaches which may be worth pursuing: |
| |
The [[https://solr.apache.org/guide/solr/latest/query-guide/terms-component.html|TermsComponent]] may be an appropriate Solr search handler to get suggestions from. But left hand truncation is still not possible with that. | * The [[https://solr.apache.org/guide/solr/latest/query-guide/terms-component.html|TermsComponent]] may be an appropriate Solr search handler to get suggestions from. But left hand truncation is still not possible with that. |
| * The [[https://lucidworks.com/post/auto-suggest-from-popular-queries-using-edgengrams/|Using Solr NGrams to Implement Auto-Suggest in Search]] article outlines using EdgeNGrams to set up autocomplete against popular queries parsed from the Solr logs. |
On [[https://lucidworks.com/post/auto-suggest-from-popular-queries-using-edgengrams/]] Jay Hill outlines using EdgeNGrams to set up autocomplete against popular queries parsed from the Solr logs. | * A more modern approach worth investigating would be to use Solr's native [[https://solr.apache.org/guide/solr/latest/query-guide/suggester.html|Suggester component]], which did not yet exist when VuFind®'s autocomplete logic was originally implemented. |
| |
A more modern approach worth investigating would be to use Solr's native [[https://solr.apache.org/guide/solr/latest/query-guide/suggester.html|Suggester component]], which did not yet exist when VuFind®'s autocomplete logic was originally implemented. | |
---- struct data ---- | ---- struct data ---- |
properties.Page Owner : | properties.Page Owner : |
---- | ---- |
| |