Commit 856dc56d authored by PkSM3's avatar PkSM3

1000 sample

parent 2a5c2a8a
...@@ -46,8 +46,7 @@ def getGlobalStats(request ): ...@@ -46,8 +46,7 @@ def getGlobalStats(request ):
alist = ["bar","foo"] alist = ["bar","foo"]
if request.method == "POST": if request.method == "POST":
#N = 1000 N = 1000
N = 300
query = request.POST["query"] query = request.POST["query"]
print ("LOG::TIME:_ "+datetime.datetime.now().isoformat()+" query =", query ) print ("LOG::TIME:_ "+datetime.datetime.now().isoformat()+" query =", query )
print ("LOG::TIME:_ "+datetime.datetime.now().isoformat()+" N =", N ) print ("LOG::TIME:_ "+datetime.datetime.now().isoformat()+" N =", N )
......
...@@ -299,7 +299,7 @@ ...@@ -299,7 +299,7 @@
var origQuery = $("#id_name").val() var origQuery = $("#id_name").val()
console.log("printing the results:") console.log("printing the results:")
console.log(origQuery) console.log(origQuery)
testISTEX(origQuery.replace(" ","+"),300) testISTEX(origQuery.replace(" ","+"),1000)
} }
} }
else { else {
...@@ -349,7 +349,7 @@ ...@@ -349,7 +349,7 @@
console.log("enabling "+"#"+value.id) console.log("enabling "+"#"+value.id)
$("#"+value.id).attr('onclick','getGlobalResults(this);'); $("#"+value.id).attr('onclick','getGlobalResults(this);');
// $("#submit_thing").prop('disabled' , false) // $("#submit_thing").prop('disabled' , false)
$("#submit_thing").html("Process a 300 sample!") $("#submit_thing").html("Process a 1000 sample!")
thequeries = data thequeries = data
var N=0,k=0; var N=0,k=0;
...@@ -388,7 +388,7 @@ ...@@ -388,7 +388,7 @@
console.log("enabling "+"#"+value.id) console.log("enabling "+"#"+value.id)
$("#"+value.id).attr('onclick','getGlobalResults(this);'); $("#"+value.id).attr('onclick','getGlobalResults(this);');
// $("#submit_thing").prop('disabled' , false) // $("#submit_thing").prop('disabled' , false)
$("#submit_thing").html("Process a 300 sample!") $("#submit_thing").html("Process a 1000 sample!")
thequeries = data thequeries = data
var N=data.length,k=0; var N=data.length,k=0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment