Long queries hurt Solr on many layers. You can experiment with
https://lucene.apache.org/solr/guide/7_1/other-parsers.html#terms-query-parser


On Tue, Nov 28, 2017 at 1:07 PM, Faraz Fallahi <faraz.fall...@googlemail.com
> wrote:

> Hi
>
> I have a question regarding solr queries.
> My query basically contains thousand of OR conditions for authors
> (author:name1 OR author:name2 OR author:name3 OR author:name4 ...)
> The execution time on my index is huge (around 15 sec). When i tag all the
> associated documents with a custom field and value like authorlist:1 and
> then i change my query to just search for authorlist:1 it executes in 78
> ms. How come there is such a big difference in exec-time?
> Can somebody please explain why there is sucha difference (maybe the query
> parser?) and if there is a way to speed this up?
>
> Thx for the help
>



-- 
Sincerely yours
Mikhail Khludnev

Reply via email to