Thanks David. It is quite good to use for NRT.

Apologies, I didn't mention that facet search is really slow.

I found the below reason which could be the reason because I am using facet
spatial search which is getting slow.

To know more about solr hard and soft commits, have a look at this blog :
https://lucidworks.com/blog/2013/08/23/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/

In this article, "soft commits are that they will make documents visible,
but at some cost. In particular the “top level” caches, which include what
you configure in solrconfig.xml (filterCache, queryResultCache, etc) will
be invalidated! Autowarming will be performed on your top level caches
(e.g. filterCache, queryResultCache), and any newSearcher queries will be
executed. Also, the FieldValueCache is invalidated, so facet queries will
have to wait until the cache is refreshed."

Do you have any idea what could possible be do about this?



On Tue, 5 Jan 2016 at 12:31 davidphilip cherian <
davidphilipcher...@gmail.com> wrote:

> You should use solr softcommit for this use case. So, by setting softcommit
> to 5 seconds and autoCommit to minute with openSearcher=false should do the
> work.
>
>  <autoCommit>
>  <maxTime>60000</maxTime>
> <openSearcher>false</openSearcher>
>  </autoCommit>
>
> <autoSoftCommit>
> <maxTime>2000</maxTime>
> </autoSoftCommit>
>
> Reference link-
> https://cwiki.apache.org/confluence/display/solr/Near+Real+Time+Searching
>
> To know more about solr hard and soft commits, have a look at this blog :
>
> https://lucidworks.com/blog/2013/08/23/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/
>
> On Tue, Jan 5, 2016 at 5:44 PM, Novin Novin <toe.al...@gmail.com> wrote:
>
> > Hi guys,
> >
> > I'm having trouble to figure what would be idle solr config for where:
> >
> > I'm doing hard commit in every minute   for very few number of users
> > because I have to show those docs in search results quickly when user
> save
> > the changes.
> >
> > It is causing the response in around  2 secs to show even I am getting
> only
> > 10 records.
> >
> > Could you able to give some idea where to look at.
> >
> >
> > Thanks in advance,
> > Novin
> >
>

Reply via email to