Opened 5 years ago
#2388 new enhancement
Modify How the Search Engine Determines which Full-text Indexed Fields to be Searched
| Reported by: | Martin Reisinger | Owned by: | |
|---|---|---|---|
| Priority: | medium | Milestone: | |
| Component: | Search Engine | Version: | N/A |
| Severity: | Keywords: | indexing | |
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
The Search Engine currently uses all of the full text indexes without any discrimination. It should be configured so that for an organizations's GG DBA can indicate which full text indexes to include(excluding others, as desired). In other words, some tables/fields may be indexed, but the DBA does not want them searched via the Search Engine.
Individual organizational GG implementations would then not interfere with the current search engine if it were modified to use only specific fields. Other genebanks currently using GG may or may not be indexing the same fields as the USADA (or not).
[As an aside, the indexing information (and any appropriate recommendations) should be included in the document which we now have a reference in the web.config. https://www.grin-global.org/docs/gg_configure.pdf ]
An approach is needed to allow DBAs to easily configure which indexed fields are to be included in the Search Engine. (The original method, using all indexes, was the easiest approach as it needed no configuration other than creating indexes.)
Two possible approaches come to mind:
(1) Use separate full text catalogs. Have the SE look in a specific catalog by name. This would allow indexing other fields in other catalogs without affecting the search.
(2) The other option would be to have a list of table or fields that should be checked. Maybe even check catalog X, table Y, field Z. That's complicated enough that you'd probably want a table to list all that. Similar to setting up the sys_search_autofield.
(3) Web.Config could be used, possibly including a Search fulltext catalog setting and a full text tables list setting. The Search Engine SQL could be written to use the catalog name (if provided) and check a list of tables (if provided). Then the DBA/organization could use both, either, or neither.
