lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Modassar Ather <modather1...@gmail.com>
Subject Re: Solr Cloud and Multiple Indexes
Date Thu, 05 Nov 2015 10:21:34 GMT
SolrCloud makes the distributed search easier. You can find details about
it under following link.
https://cwiki.apache.org/confluence/display/solr/How+SolrCloud+Works

You can also refer to following link:
https://cwiki.apache.org/confluence/display/solr/Shards+and+Indexing+Data+in+SolrCloud

>From size of your index I meant index size and not the total document alone.
How many segments are there in the index? The more the segment the slower
is the search.
What is the Xms and Xmx you are allocating to Solr and how much max is used
by your solr?

I doubt this as the slowness was happening for a long period of time.
I mentioned this point as I have seen gc pauses of 30 seconds and more in
some complex queries.

I am facing delay of 2-3 seconds but previously I
had delays of around 28 seconds.
Is this after you moved to solrcloud?

Regards,
Modassar


On Thu, Nov 5, 2015 at 3:09 PM, Salman Ansari <salman.rahmat@gmail.com>
wrote:

> Here is the current info
>
> How much memory is used?
> Physical memory consumption: 5.48 GB out of 14 GB.
> Swap space consumption: 5.83 GB out of 15.94 GB.
> JVM-Memory consumption: 1.58 GB out of 3.83 GB.
>
> What is your index size?
> I have around 70M documents distributed on 2 shards (so each shard has 35M
> document)
>
> What type of queries are slow?
> I am running normal queries (queries on a field) no faceting or highlights
> are requested. Currently, I am facing delay of 2-3 seconds but previously I
> had delays of around 28 seconds.
>
> Are there GC pauses as they can be a cause of slowness?
> I doubt this as the slowness was happening for a long period of time.
>
> Are document updates/additions happening in parallel?
> No, I have stopped adding/updating documents and doing queries only.
>
> This is what you are already doing. Did you mean that you want to add more
> shards?
> No, what I meant is that I read that previously there was a way to chunk a
> large index into multiple and then do distributed search on that as in this
> article https://wiki.apache.org/solr/DistributedSearch. What I was looking
> for how this is handled in Solr Cloud?
>
>
> Regards,
> Salman
>
>
>
>
>
> On Thu, Nov 5, 2015 at 12:06 PM, Modassar Ather <modather1981@gmail.com>
> wrote:
>
> > What is your index size? How much memory is used? What type of queries
> are
> > slow?
> > Are there GC pauses as they can be a cause of slowness?
> > Are document updates/additions happening in parallel?
> >
> > The queries are very slow to run so I was thinking to distribute
> > the indexes into multiple indexes and consequently distributed search.
> Can
> > anyone guide me to some sources (articles) that discuss this in Solr
> Cloud?
> >
> > This is what you are already doing. Did you mean that you want to add
> more
> > shards?
> >
> > Regards,
> > Modassar
> >
> > On Thu, Nov 5, 2015 at 1:51 PM, Salman Ansari <salman.rahmat@gmail.com>
> > wrote:
> >
> > > Hi,
> > >
> > > I am using Solr cloud and I have created a single index that host
> around
> > > 70M documents distributed into 2 shards (each having 35M documents)
> and 2
> > > replicas. The queries are very slow to run so I was thinking to
> > distribute
> > > the indexes into multiple indexes and consequently distributed search.
> > Can
> > > anyone guide me to some sources (articles) that discuss this in Solr
> > Cloud?
> > >
> > > Appreciate your feedback regarding this.
> > >
> > > Regards,
> > > Salman
> > >
> >
>

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