Skip to content

Basic implementation of query autcompletion / suggestions / correction

Notifications You must be signed in to change notification settings

searsia/searsiasuggest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Searsia Suggest

Usage:

  • Get a file suggestions.txt with suggested queries (see below)
  • Build with: mvn package
  • Run with: java -jar target/searsiasuggest.jar -f suggestions.txt
  • Done.

Basic implementation of query autocompletions, related queries, and spelling correction. The tool needs a list of query suggestions at startup. Check out the provided poor-person's approach to collecting suggestion data, or the rich-person's approach to collecting lots of suggestion data. See also the provided example suggestion file.

Related queries and spelling correction can be included as any other external search engine. Autocompletions need some special configuration: The searsiaclient will show autocompletions for engines that return a value for "suggesttemplate". The autocompletions should use the format of OpenSearch suggestions, which searsiasuggest produces with the f=opensearch parameter. An example value for "suggesttemplate" is:

http://localhost:8088/suggestions/autocomplete?q={q}&f=opensearch

About

Basic implementation of query autcompletion / suggestions / correction

Resources

Stars

Watchers

Forks

Packages

No packages published