InfoCenter search not indexing large html files [message #1007304] |
Tue, 05 February 2013 13:06 |
Mark OConnor Messages: 1 Registered: February 2013 |
Junior Member |
|
|
We deliver some customer facing documentation using web-based InfoCenters.
We recently found that the search was not finding matches in all files.
The files for which the search did not work were all large html files (the files have many elements, mostly tables, but the files are not larger than 4-5 MB).
This occurs in Helios and Juno. This occurs in both local installations (starting Eclipse and using Help > Help Contents) and in web-based InfoCenters.
This can be demonstrated with the following html:
<html>
<head>
<title>A title</title>
</head>
<body>
<p>One of many paragraphs.</p>
<p>One of many paragraphs.</p>
<p>Add about 22,000 more paragraphs</p>
<p>TheLastLine</p>
</body>
</html>
Delete the index folder from configuration/org.eclipse.help.base, then restart Eclipse using -clean. Even though the help files are re-indexed, the search will not find TheLastLine. In my test file, the search would work with 20,000 p elements, but did not work with 21,030.
All files always open and display correctly, and the local search (Ctrl F) works properly.
Is this a restriction of the search, or is there an option that controls maximum number of indexed elements?
|
|
|
Powered by
FUDForum. Page generated in 0.03211 seconds