I am running Sol 3.6 version with 5 cores.I do full import whenever my application starts up. I am simply calling http://:/solr//dataimport?command=full-import
As of now i am facing 2 weird issues.
Questions : What does default "clean=true" mean?In my case it is true.Does that mean i will not see data once i execute following query? http://:/solr//select/?q= %3A &version=2.2&start=0&rows=10&indent=on
I experienced the same problem.
Executing full-import with clean=false means the DIH will erase all the documents from the index before importing. After the process is completely done, DIH will execute a commit, making the changes visible.
What happened to me is the following:
Execute full-import with a DB query that takes really long
Delete documents by query, with commitWithIn set.
Index is empty.
Besides that, this problem did not happen with autocommit configured as follow:
<autoCommit>
<maxTime>1000</maxTime>
<openSearcher>false</openSearcher>
</autoCommit>
but did happen with
<autoCommit>
<maxTime>1000</maxTime>
<openSearcher>true</openSearcher>
</autoCommit>
and with autoSoftCommit
<autoSoftCommit>
<maxTime>1000</maxTime>
</autoSoftCommit>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.