Difference between revisions of "Constellio search/indexing"
old>Admin |
old>Admin |
||
Line 40: | Line 40: | ||
No further actions are needed: | No further actions are needed: | ||
The search servet will automatically redirect real users after they click on a search result. | |||
The search servet will automatically redirect real users after they click on a search result. | |||
==== Option: Tweak search results ==== | ==== Option: Tweak search results ==== |
Revision as of 14:39, 24 June 2014
Constellio search in Tempus Serva installations
Activate the search servlet in your installation
The search servlet is deactivated by default.
- Edit the <tomcat>/webapps/<Tempus Serva>/WEB-INF/web.xml
- Remove comments from the search servlet
- Remove comments from the search filter
If you are using web container security please remove it from the search servlet: The servlet filter will handle authentication of crwaler robots using a specialized form of basic authetication (normal users will be redirected to the main servlet instead).
Option: Create a user for crawling
You will need at least 1 user for crawling the content in Tempus Serva, possibly more if content restrictions apply to different search user groups. All group and policies will be respected through the indexing.
Prepare Constellio
Install Constellio
- Download the 1.3 installer
- Run the installer by doubleclicking the .jar file
- Install to MySQL database
- Run the Start constellio
Setting up a connector
Before setting up a connector create or choose a valid search scope
- Choose connector type: auth-http-conector
- Ensure that Use security is checked
- Set start URL to: http://<server name>/TempusServa/search
- Include the same URL in include patterns
- Enter username for the crawler user (a valid TS user)
- Enter password for the crawler user (a valid TS user)
- After submitting the new connector, crawling/indexing will start by itself
No further actions are needed:
The search servet will automatically redirect real users after they click on a search result.
Option: Tweak search results
The search servlet wil automatically deliver content in a crude form, without any extra html such as wrappers. It will also provide the crawler with information about when it was last updated, and document Title will be se to current records Resume value.
You might consider excluding the command=list pages for better (less redundant) search results.