Searsia query suggestions and autocompletions
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Searsia 3fcbe85807 Sets Java version to 11 1 year ago
project adds approach for lots of data 6 years ago
src fixes UTF-8 reader 1 year ago add client configuration 6 years ago
build.sbt adds approach for lots of data 6 years ago
pom.xml Sets Java version to 11 1 year ago

Searsia Suggest


  • 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: