Changes

Jump to navigation Jump to search
m
variety link
Line 208: Line 208:  
# Open Food Facts database contains hundreds of fields.
 
# Open Food Facts database contains hundreds of fields.
   −
# An easy way to list them all is to use "variety" Schema Analyzer
+
# An easy way to list them all is to use "variety" Schema Analyzer:
 +
# https://github.com/variety/variety
    
# 1. Install "variety"
 
# 1. Install "variety"
Line 225: Line 226:  
time mongo off --eval "var collection = 'products', limit = 100000" variety.js > off_schema_100000.txt
 
time mongo off --eval "var collection = 'products', limit = 100000" variety.js > off_schema_100000.txt
 
# (75 minutes)
 
# (75 minutes)
 +
 +
time mongo off --eval "var collection = 'products'" variety.js > off_schema_all.txt
 +
# (more than two days)
 +
    
</pre>
 
</pre>

Navigation menu