Highlighting is dependent on the size of the
data being fed through the highlighter. Unless you have
termVectors & offsets & positions enabled, the text
must be re-analyzed, see:
http://wiki.apache.org/solr/FieldOptionsByUseCase?highlight=%28termvector%29%7C%28retrieve%29%7C%28contents%29

But highlighting compressed files seems like an odd
use-case, what is the business reason you need to do this?

Best
Erick

On Thu, Nov 24, 2011 at 10:28 AM, Shyam Bhaskaran
<shyam.bhaska...@synopsys.com> wrote:
> Hi,
>
> It is observed that highlighting of search results is taking too much time 
> especially for highlighting terms for archived files like *.gz, *.tar, *.zip.
> What could be the reason behind it ? Is it because these files are unzipped 
> and then highlighted from the index during display time ?
> Or is it dependent on the size of the file ? Is there any way by which the 
> search & highlighter performance improves for these kind of archived files 
> (*.tar, *.zip etc)
>
> Let me know if there is any workaround for improving the highlighting and 
> search performance for these kind of files?
>
> -Shyam
>

Reply via email to