I configure the softcommit in solrconfig.xml, and when i add a new
entry(example : solrtest) from website and run below commit url
"http://192.168.2.10:8983/solr/goods/update?softCommit=true&commit=true "

when i run this and check on the query  keyword:solrtest its shows the entry
on xml format

and also its increase +1  in numdocs for goods.

but it not shows on website search.

when i do the hardcommit manually . then its shows the result on website.

any idea what could be the issue.

my configurations are below

solrconfig.xml

      <autoCommit>
        <maxTime>${solr.autoCommit.maxTime:15000}</maxTime>
        <openSearcher>false</openSearcher>
      </autoCommit>


      <autoSoftCommit>
       <maxTime>10000</maxTime>
      </autoSoftCommit>


solr.log 
..................................
..................................
search on query(its shows hits=1)
.....................
2017-08-11 09:15:28.060 INFO  (qtp985934102-14) [c:goods s:shard1
r:core_node3 x:goods_v6.6] o.a.s.c.S.Request [goods_v6.6]  webapp=/solr
path=/select params={q=keyword:solrtest&indent=on&wt=json&_=1502439335248}
hits=1 status=0 QTime=1
.............................................................................................................................................
search on website(its shows hits=0)
..................
2017-08-11 09:14:37.226 INFO  (qtp985934102-47) [c:goods s:shard1
r:core_node3 x:goods_v6.6] o.a.s.c.S.Request [goods_v6.6]  webapp=/solr
path=/select
params={q=keyword:"*solrtest*"&start=0&fq=storePrice:[0+TO+999999999]&fq=goodsStatus:0&sort=goodsClick+desc&rows=12&wt=javabin&version=2}
hits=0 status=0 QTime=2


any configurations i need to  add more to solrconfig.xml ??




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Soft-commit-uploading-datas-cant-search-on-website-tp4350186.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to