View some useful tips for using Portal Search.
At this time the Content Model Search Service has only one search collection. This search collection is provided with the installation by default. You cannot modify this default Content Model search collection or create additional search collections under the Content Model Search Service. The content model search service is listed because you can include it in scopes.
If the preferred language of the crawler user ID does not match the language of the search collection, users might not see search results in their language. Therefore, set the preferred language of the portal site crawler user ID to match the language of the portal site search collection that it crawls. If you do this after you started a crawl on the portal site search collection, you need to reset the portal site collection. Refer to Resetting the default search collection.
If your portal site is multilingual and your users use different languages to search WebSphere® Portal Express®, set the portal site collections up as described under Crawling a multilingual portal site.
In order to use external search services such as Google and Yahoo! with an English search keyword, a URL such as the sample URL mentioned in the Search Center portlet help for configuring the portlet works fine as is: http://www.google.com/search?q= . However, if you search in other languages, consult the documentation of the remote search service that you use to ensure that the web interface is set up and used appropriately for the language that you use for your search. This can avoid problems with the displayed results, depending on the combination of languages set for WebSphere Portal Express, your browser, and the search.
key
board
is indexed as two separate words key and board .key-
board
is indexed as one word keyboard.The following search administration tasks can require extended periods of time:
These tasks are put in a queue. It might therefore take several minutes until they are executed and the respective time counters start, for example, the crawl Run time and the timeout for the crawl set by the option Stop collecting after (minutes): . The time required for these tasks is further influenced by the following factors:
Therefore both the time limits that you can specify and the times that are shown for these processes work as approximate time limits. This applies, for example, to the following scenarios:
Furthermore, this influences other status indicators given in the Manage Search portlet. For example, the number of documents shown for a content source can show with an unexpectedly low figure or even at zero ( 0 ) until the crawl on that content source has been completed.
Depending on your Portal Search environment, crawling can require large amounts of memory. Therefore, before you start a crawl, make sure that WebSphere Portal Express has enough free memory. Memory shortage can cause a corrupted search collection and eventually lead to a system freeze.
To resolve this problem, raise the limit to the number of open files by using the ulimit command as root administrator.
Due to the resources needed for a crawl and index, it is recommended that you schedule crawls to occur when user activity is relatively low.
EJPJP0009E: Wrong root url for Portal site crawler: https://root_url
You
can ignore this message. The crawl runs correctly.To resolve this problem, edit the content source, select the General Parameters tab, and the set the parameter Stop fetching documents after (seconds): to a value of 90 seconds.
When you uninstall WebSphere Portal Express, the directories and files for the search collections are not deleted. Therefore, before you uninstall WebSphere Portal Express, delete all search collections by selecting the collections individually and clicking the option Delete Collection. If you do not do this, these files and directories remain on the hard drive. If you want to delete the search collection data after uninstalling WebSphere Portal Express, you need to do this manually. The directory path of a search collection is determined by what you typed in the field Location of Collection when you created the search collection. You can look up the collection location by performing the following steps:
The HTTP crawler of the Portal Search Service does not support JavaScript. Therefore some text of web documents might not be accessible for search by users. This depends on how the text is prepared for presentation in the browser. Specifically text that is generated by JavaScript might or might not be available for search.
ulimit -n 4096
Problem: If the file path length for the location of search collections exceeds its limit, the collection cannot be created. This can occur particularly when the portal site collection is created under Linux operating systems.
Problem: If a cluster member in a cluster fails, users who were using the affected cluster member when the failover occurred can no longer access search collections. This can occur with horizontal scaling when a node fails or with vertical scaling when a particular cluster member fails.
Solution: Users who are logged into the cluster member that failed must log out of WebSphere Portal Express and then log back in before they will be able to access search collections again.
Search can return documents based on metadata of these documents, not just on words found in the fields or actual text of the document. It might appear to Portal Search users that their searches return documents which do not appear to match the search criteria.
Cause: Metadata for documents is also indexed for search. Therefore if the metadata of documents matched the search criteria, these documents are also returned as results for the search.
Solution: This works as designed and is usually considered to be of benefit.
If you delete a content source, then the documents that were collected from this content source will remain available for search by users under all scopes which included the content source before it was deleted.
Cause: These documents will be available until their expiration time ends.
Solution: You can specify the expiration time under Links expire after (days): under General Parameters when you create the content source.
The Portal Search portlets cannot be provided as WSRP services, as some additional and more advanced WebSphere Portal Express concepts and features are not reflected by the current WSRP standard yet. This includes the Portal Search portlets Manage Search and the Search Center.
The search administration portlet Manage Search lists the Default Portal Search Service and its collection Portal Content or other collections in the default portal language and not in the language that the user has selected as preferred language for the portal or set in the browser. For example, if the portal default language is set to English and the user has selected German as the preferred portal language or has set the browser language to German, the Default Portal Search Service and its collections show in English.
[8/24/08 23:19:47:164 EDT] 000000cd ServletWrappe E
Uncaught init() exception thrown by servlet SearchSeedlistServletSecured
[8/24/08 23:19:47:175 EDT] 000000cd ServletWrappe E
Deregister the mbean because of uncaught init() exception thrown by
servlet SearchSeedlistServletSecured: javax.servlet.ServletException:
Could not load resource bundle nls.SeedlistServletMessages using locale
en_${USER.REGION} - Java Exception Message: java.util.MissingResourceException:
Can't find bundle for base name nls.SeedlistServletMessages,
locale en_${USER.REGION}
Solution: In order for portal collections to work on a IBM i system, set the system variable USER.REGION.
Search services and search collections are separate for individual virtual portals and are not shared between individual virtual portals. Set up separate search services and separate search collections for each individual virtual portal. These collections can be used to crawl and search the same set of documents.