web/www/ebooks
Mike Colagrosso 1a71913794 Add a Relevance sort order and improve search
Here's what's in `IndexableText` right now:

1. Title
2. Collections
3. Authors
4. Tags
5. LocSubjects
6. TocEntries

Here is the proposed new ranking:

```
10 * Title +
8 * Authors +
3 * Collections +
IndexableText
```

New indices for existing DBs:

```
ALTER TABLE `Ebooks` ADD COLUMN `IndexableAuthors` text NOT NULL;
ALTER TABLE `Ebooks` ADD COLUMN `IndexableCollections` text NULL;
ALTER TABLE `Ebooks` ADD FULLTEXT `indexSearchTitle` (`Title`);
ALTER TABLE `Ebooks` ADD FULLTEXT `idxSearchAuthors` (`IndexableAuthors`);
ALTER TABLE `Ebooks` ADD FULLTEXT `idxSearchCollections` (`IndexableCollections`);
```
2025-02-13 13:48:39 -06:00
..
collections.php Add endpoint to get collections for an ebook or placeholder 2025-01-15 14:32:50 -06:00
delete.php Move delete form and more multi select fixes 2024-12-19 14:40:38 -06:00
download.php Replace Template::Emit...() functions with more generic function 2024-12-18 13:14:16 -06:00
edit.php Move delete form and more multi select fixes 2024-12-19 14:40:38 -06:00
get.php Remove now-redundant PD placeholders code 2025-01-01 10:05:59 -06:00
index.php Add a Relevance sort order and improve search 2025-02-13 13:48:39 -06:00
opensearch.php Implement OpenSearch feed search with FilterEbooks 2024-11-04 13:16:56 -06:00
opensearch.xml Implement OpenSearch feed search with FilterEbooks 2024-11-04 13:16:56 -06:00
post.php Move delete form and more multi select fixes 2024-12-19 14:40:38 -06:00