apache / apache/lucene

add more low-level tests for the suggest module [LUCENE-3134]

Open
#4,207 0 comments 0 reactions 0 assignees View on GitHub
legacy-jira-priority:Major module:suggest type:test
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

The suggest module has some low-level serialization/deserialization tests,
but I think it needs some basic API tests such as... suggesting queries.

I think we can make a basic test class, and subclass it to test the different impls (FST,TST,Jaspell)

---
Migrated from [LUCENE-3134](https://issues.apache.org/jira/browse/LUCENE-3134) by Robert Muir (@rmuir)

Contributor guide

Open the contributing guide

Research direction

Start by locating the suggest module and its existing low-level serialization/deserialization tests. Review the FST, TST, and Jaspell implementations and design a shared basic API test class with subclasses for each implementation. Done means the implementations have coverage for suggesting queries through the API.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.