sphinx 0.5.1 → 0.5.2
raw patch · 3 files changed
+6/−1 lines, 3 files
Files
Text/Search/Sphinx.hs view
@@ -120,6 +120,9 @@ strC config [ExConf.beforeMatch, ExConf.afterMatch, ExConf.chunkSeparator] numC config [ExConf.limit, ExConf.around, ExConf.limitPassages, ExConf.limitWords, ExConf.startPassageId] str $ ExConf.htmlStripMode config+#ifndef ONE_ONE_BETA+ str $ ExConf.passageBoundary config+#endif list str docs modeFlag :: ExConf.ExcerptConfiguration -> (ExConf.ExcerptConfiguration -> Bool) -> Int -> Int
Text/Search/Sphinx/ExcerptConfiguration.hs view
@@ -25,6 +25,7 @@ , loadFiles :: Bool , htmlStripMode :: String , allowEmpty :: Bool+ , passageBoundary :: String } deriving (Show) @@ -49,6 +50,7 @@ , loadFiles = False , htmlStripMode = "index" -- "none", "strip", "index", and "retain". , allowEmpty = False+ , passageBoundary = "none" } -- this seems better to me
sphinx.cabal view
@@ -1,5 +1,5 @@ Name: sphinx-Version: 0.5.1+Version: 0.5.2 Synopsis: Haskell bindings to the Sphinx full-text searching deamon. Description: Haskell bindings to the Sphinx full-text searching deamon. Compatible with Sphinx version 2.0 Category: Text, Search, Database