lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Cappa Banda <luisca...@gmail.com>
Subject Re: Out of memory
Date Fri, 16 Sep 2011 22:08:29 GMT
Hello.

Facet queries are slower than others specially when you are working with a
69G index. I would like to know more about the context where occurs the Out
of memory exception: is it during an indexation? Do you index at the same
time as users launches queries to twitter index? Are you using the
autocommit option? If yes, which is your configuration of number of
documents buffered or time elapsed to do next commit?

By the way, I think that using more servers/indexes with the shards option
to launch distributed queries won´t solve the problem. In my opinion it will
continue as slow as the present, or even more. Try to check what kind of
query you are launching while faceting. I mean that it´s not the same to
query with an *"q=*:* and then facet=true&facet.field=whatever"* as
*"q=field1:value+AND+field2:value...&facet=true&facet.field=whatever".
*I recommend you to check again the query and to test it usingcaching and fq
parameters in it. Probably you´ll get better Qtime results.

Luis Cappa.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message