Right, highlighting may have to re-analyze the input in order to return the highlighted data. This will be significantly slower than the search, especially if you have a large number of rows you're returning.
You can get better performance in highlighting by using FastVectorHighlighter. See: https://cwiki.apache.org/confluence/display/solr/FastVector+Highlighter 1000x is unusual, though, unless your fields are very large or you're returning a lot of documents. Best, Erick On Tue, Feb 25, 2014 at 5:23 AM, Erwin Gunadi <festiva.s...@gmail.com>wrote: > Hi, > > > > I would like to know whether anyone have experienced this kind of > phenomena. > > > > We are having performance problem regarding query on stemmed value. > > I've documented the symptoms which I'm currently facing: > > > > > Search on field content > > Search on field spell > > Highlighting (on content field) > > Processing speed > > > active > > active > > Active > > Slow > > > active > > not active > > Active > > Fast > > > active > > active > > not active > > Fast > > > not active > > active > > Active > > Slow > > > not active > > active > > not active > > Fast > > > > *Fast means 1000x faster than "slow". > > > > Field Content is our index field, which holds original text, and spell is > the field with stemmed value. > > According to my measurement result, search on both fields (stemmed and not > stemmed) is really fast. > > But when I start to take highlighting into our query it takes too long to > process. > > > > Best Regards > > Erwin > >