Differences between index creation from web and command line

10 views
Skip to first unread message

mvelasco

unread,
Apr 4, 2018, 11:05:05 AM4/4/18
to dotCMS User Group
There's something I didn't quite catch when I reindex dotcms data.
Calling to ReIndex from web app I got two indexes (working and live) with count:1246, size 3.2mb

Now, I'm going to create a index from command line, 

curl --user ad...@dotcms.com:admin -XPUT http://localhost:8080/api/esindex/create/shards/1/live/true


I got Count:0 size and less size (115b) 

Both are calling to ESPIndex.createIndex method with same parameters.

Anyone can give me a clue what I'm doing wrong ?

Thanks


FROM COMMAND LINE

StatusAlias NameCreatedCountShardsReplicasSizeHealth
live_fandangofandango020288b
live_20180404152714Wed, April 4 2018 3:27PM010115b


FROM WEB APPLICATION

StatusAlias Name
CreatedCountShardsReplicasSize
Activeworking_20180403165354
Tue, April 3 2018 4:53PM1246103.2mb
Reply all
Reply to author
Forward
0 new messages