gargantext-0.0.7.1.5.3: Search, map, share
Copyright(c) CNRS 2017-Present
LicenseAGPL + CECILL v3
Maintainerteam@gargantext.org
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageHaskell2010

Gargantext.Database.Action.Search

Description

 
Synopsis

Documentation

searchInCorpus :: HasDBid NodeType => CorpusId -> IsTrash -> Query -> Maybe Offset -> Maybe Limit -> Maybe OrderBy -> DBCmd err [FacetDoc] #

todo add limit and offset and order

searchInCorpusWithNgrams :: HasDBid NodeType => CorpusId -> ListId -> IsTrash -> NgramsType -> [[Text]] -> Maybe Offset -> Maybe Limit -> Maybe OrderBy -> DBCmd err [FacetDoc] #

Search ngrams in documents, ranking them by TF-IDF. We narrow our search only to map/candidate terms.