Implemented Fulltext search across tags and linebreaks for letters

This commit is contained in:
schnulller
2022-06-19 00:01:14 +02:00
parent 078c4b75b8
commit 4ef0e260e0
24 changed files with 510 additions and 148 deletions

View File

@@ -2,9 +2,9 @@ using System;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace HaDocument.Models {
public class Comment{
public string Entry { get; } = "";
namespace HaDocument.Models{
public class Comment : HaDocument.Interfaces.ISearchable {
public string Element { get; } = "";
public string Index { get; } = "";
public string Type { get; } = "";
public string Lemma { get; } = "";
@@ -21,7 +21,7 @@ namespace HaDocument.Models {
SortedDictionary<string, Comment> subComments,
string parent=""
) {
Entry = entry;
Element = entry;
Index = index;
Type = type;
Lemma = lemma;