Hi,

When I restart my solr core the log replay starts and just before it finishes I 
see the following commit

start 
commit{flags=2,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false}

what does the “flags=2” param do ?

when I try to send that param to the updateHandler manually solr does not like 
it

curl http://localhost:6600/solr/main/update -H "Content-Type: text/xml" 
--data-binary '<commit  openSearcher="true" flags="2" waitSearcher="false"/>'

<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader"><int name="status">400</int><int 
name="QTime">0</int></lst><lst name="error"><str name="msg">Unknown commit 
parameter 'flags'</str><int name="code">400</int></lst>
</response>

thanks,
Summer

Reply via email to