Anonymous
Not logged in
Log in
Request account
Search
Changes
From Pumping Station One
Namespaces
User page
Discussion
More
More
Languages
Page actions
Read
View source
History
User contributions
← Older edit
User:Hef/rt search
(view source)
Revision as of 04:39, 27 August 2014
12 bytes added
,
04:39, 27 August 2014
→More output
Line 18:
Line 18:
I added The following to RT_SiteConfig.pm
I added The following to RT_SiteConfig.pm
+
<pre>
Set( %FullTextSearch,
Set( %FullTextSearch,
Enable => 1,
Enable => 1,
Line 24:
Line 25:
Table => 'AttachmentsIndex',
Table => 'AttachmentsIndex',
);
);
+
</pre>
Below is a simple Sphinx configuration which can be used to index all
Below is a simple Sphinx configuration which can be used to index all
Line 29:
Line 31:
ideal; you should read the Sphinx documentation to understand how to
ideal; you should read the Sphinx documentation to understand how to
configure it to better suit your needs.
configure it to better suit your needs.
+
<pre>
source rt {
source rt {
Line 47:
Line 50:
sql_query_info = SELECT * FROM Attachments WHERE id=$id
sql_query_info = SELECT * FROM Attachments WHERE id=$id
}
}
−
−
<pre>
index rt {
index rt {
Hef
Bureaucrats
,
Administrators
3,430
edits
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information
OK
Navigation
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
Userpage tools
Logs
View user groups
More
Printable version