Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCM Base Distribution
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OCIO_ODEE_Web
WCM Base Distribution
Commits
796a2613
Commit
796a2613
authored
9 years ago
by
Chris Gross
Browse files
Options
Downloads
Patches
Plain Diff
daily build
parent
b7363761
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
profiles/wcm_base/modules/custom/ocio_search/README.md
+40
-0
40 additions, 0 deletions
profiles/wcm_base/modules/custom/ocio_search/README.md
profiles/wcm_base/wcm_base.install
+1
-0
1 addition, 0 deletions
profiles/wcm_base/wcm_base.install
with
41 additions
and
0 deletions
profiles/wcm_base/modules/custom/ocio_search/README.md
0 → 100644
+
40
−
0
View file @
796a2613
Enabling Solr for a Pantheon Site
1.
Add the IndexServer from the Dashboard (Settings -> Add-Ons -> Solr).
2.
Make sure you have the latest version of Drupal.
3.
Add the Apache Solr Search module to your code base.
4.
Enable the Pantheon Apache Solr module.
5.
Post the schema.xml using the Pantheon Apache Solr module
-
Click on “Configure” next to “Pantheon Apache Solr” on the module listing page.
-
You will see a message that says “The Pantheon Apache Solr service in the (dev/test/live)
environment was not found, have you posted the schema in this environment yet?
Click on the “posted the schema” link.
-
On the next page, select profiles/wcm_base/modules/contrib/apachesolr/solr-conf/solr-3.x/schema.xml
and click “Post schema”.
-
Note: You must post the schema.xml in each environment (dev, test, and live)
that you want to use Pantheon's Solr Service in.
6.
Enable and configure the Apache Solr Search module.
-
Click on the settings tab. you should see your solr server listed as
“localhost server (Default)”.
-
Click on “index” under the “Configuration” column of the table on this page.
-
Scroll to the bottom of the page and note the node types and file types that are available for searching.
Check/uncheck any that are you want included in the index. Then click “Save”.
Note: File search for the Apache Solr Search module will only search the file’s fields,
not the actual content of the file. If you do not have descriptions set for your files,
they likely will not appear in search results based on the terms you search for.
-
The page will refresh and should show that you have 0 items indexed.
Click on “Queue all content for reindexing”, then “Queue all content” on the next page.
-
Then click on the Index queued content button.
7.
Double check that “Apache Solr search” is selected both as the Active search module
and the default search module on /admin/config/search/settings.
8.
Go back to /admin/config/search/apachesolr/search-pages and note what your url is for core Search.
Hit that url and give the search a try.
More details here: https://pantheon.io/docs/articles/sites/apache-solr/
This diff is collapsed.
Click to expand it.
profiles/wcm_base/wcm_base.install
+
1
−
0
View file @
796a2613
...
...
@@ -54,6 +54,7 @@ function _wcm_base_set_up_admin() {
'ocio_user_config'
,
'ocio_permissions'
,
'ocio_workbench'
,
'ocio_search'
,
);
// Revert custom features to override configuration
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment