Child pages
  • SearchServerImpl
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Search Server Implimentation

In large deployments there is a need to have a sedicated number of nodes operating as search servers so as to reduce local disk requirements per node. If there is 1TB of content, and 100G of index, ten each node would require 100G of local storage and a futher 100G of shared storage. To eliminate this requirement a search node can be configured to use a Search Service (become a Search Client) provided by annother Sakai instance operating as a Search Service.

Search Client

  • The search client is configured to use a search server.
  • It has no local index and does not take part in any indexing operations
  • When a user performs a search, the tool operates the same.
  • The Search Service Component serializes the request into an HTTP POST which it sends to the Search Service.
    • This includes the current user id and a secure hash of the request.
  • The Search Tool on the Search Server takes the request and processes it locally serializing the raw results back out as XML.
    • The XML only contains the references and index information, no content or highlighting
  • The Search Service Component on the client adds the content and highlighting and displays the results to the user.

Search Server

  • The search server is configured with an index and the HTTP POST url exposed to accept request from search clients.
  • The search server recieves request and passes the information to the Search Service Component.
  • The search Service Component decodes the POST content, performin a secure hash to check the request.
    • This may optionally contain a shared secret.
  • The Search Service Component to performs the search as the user specified in the request, performing security filtering.
  • The result (which is a sublist) is then serialized to XML and sent back as the response.

Error Conditions.

  • Any errors are converted to a stack trace and then serialized to XML and sent back to the Search Client for processing and reporting.

This feature is available post SVN r20036 configruation settings are

  • No labels