Uses of Class
com.mindstore.backend.data.TextDocument
Packages that use TextDocument
-
Uses of TextDocument in com.mindstore.backend.controller
Methods in com.mindstore.backend.controller that return types with arguments of type TextDocumentModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<TextDocument> OpenSearchController.createTextIndex(TextDocument textDocument, jakarta.servlet.http.HttpServletResponse response) function: used to create new text documents, used in the frontend so that the user can add new entriesOpenSearchController.getAllTextIndexes(String searchAfter, int size) function: used to return all Text documents availableOpenSearchController.getAllTextIndexesWithTag(List<String> tags, String searchAfter, int size) function: used to get all text documents that contain a specific tag or a list of tags, used in the frontend to filter for specific tagsSearches through all availableTextDocuments based on the query parameter.SearchController.searchCommandList(String command, int page, int size, String searchAfter, Principal principal) Searches through all availableTextDocuments based on the query parameter.SearchController.searchHighlighted(String query, int page, int size, String searchAfter, Principal principal) Searches through all availableTextDocuments based on the query parameter.SearchController.searchThroughTags(String query, int page, int size, String searchAfter, List<String> tags, Principal principal) function: search controller endpoint for search inside tagged textsSearchController.searchThroughTime(String query, int page, int size, String searchAfter, String dateFrom, String dateTo, Principal principal) Searches through all availableTextDocuments based on the query parameter.Methods in com.mindstore.backend.controller with parameters of type TextDocumentModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<TextDocument> OpenSearchController.createTextIndex(TextDocument textDocument, jakarta.servlet.http.HttpServletResponse response) function: used to create new text documents, used in the frontend so that the user can add new entries -
Uses of TextDocument in com.mindstore.backend.service
Methods in com.mindstore.backend.service that return types with arguments of type TextDocumentModifier and TypeMethodDescriptionfunction: service method that returns all available textDocumentsTextSearchService.findAllWithTags(List<String> categories, String searchAfter, int size) function that finds all texts with certain tagsfunction: search the available TextDocuments for a specific stringTextSearchService.searchForCommand(String command, int page, int size, String searchAfter) function: search the available TextDocuments for a specific stringTextSearchService.searchHighlighted(String query, int page, int size, String searchAfter) function: search the available TextDocuments for a specific stringTextSearchService.searchThroughTaggedTexts(List<String> categories, String query, int page, int size, String searchAfter) search function for tagged textsTextSearchService.searchWithTimeSpan(String query, int page, int size, String searchAfter, String from, String to) function: search the available TextDocuments for a specific stringMethods in com.mindstore.backend.service with parameters of type TextDocumentModifier and TypeMethodDescriptionvoidTextIndexService.indexText(TextDocument text) function: index a text into our opensearch clientvoidTextIndexServiceImpl.indexText(TextDocument text) used to index texts into the opensearch index