Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tsearch2-driver
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
tsearch2-driver
Commits
bf949b34
Commit
bf949b34
authored
Feb 10, 2012
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- V4.0.3.0.0:
Updated to OpenACS 5.7
parent
c46d5c97
Pipeline
#659
failed with stages
Changes
3
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
5 deletions
+29
-5
tsearch2-driver-procs-postgresql.xql
tcl/tsearch2-driver-procs-postgresql.xql
+24
-0
tsearch2-driver-procs.tcl
tcl/tsearch2-driver-procs.tcl
+1
-1
tsearch2-driver.info
tsearch2-driver.info
+4
-4
No files found.
tcl/tsearch2-driver-procs-postgresql.xql
View file @
bf949b34
...
...
@@ -37,6 +37,18 @@
</querytext>
</fullquery>
<fullquery name="callback::search::search::impl::tsearch2-driver.count">
<rdbms><type>postgresql</type><version>8.3</version></rdbms>
<querytext>
select count(*)
from
[join $from_clauses ","]
$base_query
[expr {[llength $where_clauses] > 0 ? " and " : ""}]
[join $where_clauses " and "]
</querytext>
</fullquery>
<fullquery name="tsearch2::summary.summary">
<rdbms><type>postgresql</type><version>8.3</version></rdbms>
<querytext>
...
...
@@ -92,6 +104,18 @@
</querytext>
</fullquery>
<fullquery name="callback::search::search::impl::tsearch2-driver.count">
<rdbms><type>postgresql</type><version>8.2</version></rdbms>
<querytext>
select count(*)
from
[join $from_clauses ","]
$base_query
[expr {[llength $where_clauses] > 0 ? " and " : ""}]
[join $where_clauses " and "]
</querytext>
</fullquery>
<fullquery name="tsearch2::summary.summary">
<rdbms><type>postgresql</type><version>8.0</version></rdbms>
<querytext>
...
...
tcl/tsearch2-driver-procs.tcl
View file @
bf949b34
...
...
@@ -179,7 +179,7 @@ ad_proc -callback search::search -impl tsearch2-driver {
set results_ids
[
db_list search
{}]
set count
[
db_string count
"select count(*) from txt
$base
_query"
]
set count
[
db_string count
{}
]
set stop_words
[
list
]
...
...
tsearch2-driver.info
View file @
bf949b34
...
...
@@ -7,15 +7,15 @@
<initial-install-p>
f
</initial-install-p>
<singleton-p>
t
</singleton-p>
<version
name=
"5.
6.0"
url=
"http://openacs.org/repository/download/apm/tsearch2-driver-5.6
.0.apm"
>
<version
name=
"5.
7.0"
url=
"http://openacs.org/repository/download/apm/tsearch2-driver-5.7
.0.apm"
>
<owner
url=
"mailto:dave@thedesignexperience.org"
>
Dave Bauer
</owner>
<summary>
Full text search support for Search via Tsearch2.
</summary>
<release-date>
201
0-06-17
</release-date>
<release-date>
201
1-06-12
</release-date>
<description
format=
"text/html"
>
Provides an implementation for the search packages service contract for searching on postgresql.
</description>
<maturity>
3
</maturity>
<provides
url=
"tsearch2-driver"
version=
"5.
6
.0"
/>
<requires
url=
"search"
version=
"5.
6
.0"
/>
<provides
url=
"tsearch2-driver"
version=
"5.
7
.0"
/>
<requires
url=
"search"
version=
"5.
7
.0"
/>
<callbacks>
<callback
type=
"before-install"
proc=
"tsearch2_driver::install::preinstall_checks"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment