Hi all,

I'm trying to get Near Real Time searching working with SOLR (so that
documents I insert, or documents I update, are visible in a SOLR query as
quickly as possible).

I've tried configuring autoCommit and autoSoftCommit in solrconfig.xml but
it's taking about 10 minutes to see the updates when doing a select on the
core.

I have about 2.2 million documents in a SOLR core (quite a lot of fields
too - maybe 40 and a lot are indexed=true as well).  I'm using
ClassicIndexSchemaFactory rather than ManagedIndexSchemaFactory.

Right now I'm running on a single VM with 16Gbytes of memory and 12GB given
to SOLR (displayed as JVM-Memory on the Dashboard page - right now it's
saying 74.3% / 8.92GB of 12.00GB in use).

My current autoComment and autoSoftCommit settings in the core's
solrconfig.xml are below.  I was hoping that the "maxtime" of 1000 (ms?)
for autoSoftCommit would mean that pretty quickly my changes to a document
would be visible in a query - but it's taking a long time (10 mins).

I've looked at the docs on
https://solr.apache.org/guide/8_10/near-real-time-searching.html but I
haven't (yet) worked out what else needs to be setup or configured.

Any help/info really appreciated

thanks, Derek

>From my solrconfig.xml: -

<autoCommit>

      <maxDocs>100000000</maxDocs>
      <maxTime>86400000</maxTime>
      <openSearcher>false</openSearcher>
    </autoCommit>

    <autoSoftCommit>
      <maxTime>1000</maxTime>
    </autoSoftCommit>

-- 
-- 
Derek Conniffe
Harvey Software Systems Ltd T/A HSSL
Telephone (IRL): 086 856 3823
Telephone (US): (650) 443 8285
Skype: dconnrt
Email: de...@hssl.ie


*Disclaimer:* This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please delete it
(if you are not the intended recipient you are notified that disclosing,
copying, distributing or taking any action in reliance on the contents of
this information is strictly prohibited).
*Warning*: Although HSSL have taken reasonable precautions to ensure no
viruses are present in this email, HSSL cannot accept responsibility for
any loss or damage arising from the use of this email or attachments.
P For the Environment, please only print this email if necessary.

Reply via email to