SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
SI - Site Forums : Silicon Investor - New feature discussion

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
Recommended by:
Glenn Petersen
Sr K
To: VisionsOfSugarplums who wrote (4347)9/4/2014 10:10:26 PM
From: SI Dmitry (code monkey)2 Recommendations  Read Replies (2) of 7352
 
Dear VisionsOfSugarplums,
Also, a useful feature, which was that the term searched for was highlighted in the results (in the text), no longer seems to happen ie/ no highlight, which is unfortunate IMO
Highlighting of search terms in search query results has been fixed. There was an old implementation in the code that would corrupt the formatting of the returned search results. It was removed. It has now been replaced with newly implemented code that should highlight the search results in the returned pages without corrupting the content displayed. The html is dissembled separating content from formatting, the styling is applied, and then the post is reassembled restoring the formatting. The highlighting should be present and the return pages should be very clean now, please let me know.

Regarding errors during search; these are due to timeouts; generally if the database server takes more than 30 seconds to find a result set matching the query, the web server will time-out waiting for a response and return an error page.

This might be fixed in several ways: by our increasing the amount of time allowed before a timeout, our optimizing the search code, our reducing the amount of data being searched (fewer years checked), or our adding hardware resources to or splitting the load on the database server. I'll need to spend some time looking into this. Full-text search is one of the most resource intensive functions that can be performed on a database server.

Quite often, if an error web page is returned as the result of a search timeout, repeating the search will result in success. This is as the database server will cache the data used in the search in memory and perform it faster (within the timeout) upon a subsequent attempt.

Regards,

@Dima
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext