lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomasz Borek <tomasz.bo...@gmail.com>
Subject Re: Simple search low speed
Date Sun, 26 Apr 2015 08:02:51 GMT
Perhaps belated and IANA Solr expert, but take a look at mergeFactor and
ramBufferSizeMB. I've had a situation where after Solr upgrade old values
were kept. Those are used for buffering during indexing AFAIR. If buffer
size is exceeded, merge happens. If merge factor is exceeded, coalesced
segments are (AFAIR) written to IO, thus you might see high CPU.

pozdrawiam,
LAFK

2015-04-24 14:39 GMT+02:00 Joel Bernstein <joelsolr@gmail.com>:

> Try breaking down the query to see which part of it is slow. If it turns
> out to be the range query you may want to look into using an frange
> postfilter.
>
> Joel Bernstein
> http://joelsolr.blogspot.com/
>
> On Fri, Apr 24, 2015 at 6:50 AM, Norgorn <lsunnydayl@mail.ru> wrote:
>
> > Thanks for your reply.
> >
> > Yes, 100% CPU is used by SOLR (100% - I mean 1 core, not all cores), I'm
> > totally sure.
> >
> > I have more than 80 GB RAM on test machine and about 50 is cached as disk
> > cache, SOLR uses about 8, Xmx=40G.
> >
> > I use GC1, but it can't be the problem, cause memory usage is much lower
> > than GC start limit (45% of heap).
> >
> > I think, the problem can be in fully optimized index, and search over one
> > big segment is much slower than parallel search over lot of segments, but
> > it
> > sounds weird, so I'm not sure.
> > Setups with big indexes which I know are all with optimized indexes.
> >
> > Index scheme:
> > <field name="text" type="text_general" indexed="true" stored="false"
> > termVectors="true" termPositions="true" termOffsets="true" />
> >    <field name="title" type="text_general" indexed="true" stored="false"
> > termVectors="true" termPositions="true" termOffsets="true" />
> >
> > <field name="cat" type="tint" indexed="true" stored="true"
> > multiValued="false" required="true" omitNorms="true"
> > omitTermFreqAndPositions="true"/>
> >
> > <field name="date" type="date" indexed="true" stored="false"
> > omitNorms="true" omitTermFreqAndPositions="true"/>
> >
> > <field name="field1" type="int" indexed="true" stored="true"
> > required="false" omitNorms="true" omitTermFreqAndPositions="true"/>
> > <field name="field2" type="int" indexed="true" stored="true"
> > required="false" omitNorms="true" omitTermFreqAndPositions="true"/>
> >
> >
> >
> > --
> > View this message in context:
> >
> http://lucene.472066.n3.nabble.com/Simple-search-low-speed-tp4202135p4202157.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
> >
>

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