mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 09:15:33 +00:00
Implemented Fulltext search across tags and linebreaks for letters
This commit is contained in:
15
HaWeb/SearchHelpers/SearchState.cs
Normal file
15
HaWeb/SearchHelpers/SearchState.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace HaWeb.SearchHelpers;
|
||||
using System.Text;
|
||||
|
||||
public class SearchState : HaWeb.HTMLParser.IState {
|
||||
internal string SearchWord;
|
||||
internal bool Normalize;
|
||||
internal List<(string Page, string Line)>? Results;
|
||||
|
||||
public SearchState(string searchword, bool normalize = false) {
|
||||
Normalize = normalize;
|
||||
SearchWord = searchword;
|
||||
}
|
||||
|
||||
public void SetupState() {}
|
||||
}
|
||||
Reference in New Issue
Block a user