Hi, Ohad!

While I absolutely agree that more targeted searches are more effective 
and, in fact, are not affected by the issue above:

# time curl -kSs -u admin:$PASS 
https://localhost/api/hosts?search=name=test | jq '.' | grep total
  "total": 1699,
  "subtotal": 0,

real 0m0.175s
user 0m0.044s
sys 0m0.068s

# time curl -kSs -u admin:$PASS https://localhost/api/hosts?search=name~ppm 
| jq '.' | grep total
  "total": 1699,
  "subtotal": 4,

real 0m0.383s
user 0m0.048s
sys 0m0.073s

"non-targeted" search used to work just fine as I mentioned in original 
post, I just want to make sure this is not a bug or something that affects 
the performance in 1.13.

If this is an intended change in behavior, it needs to be called out, IMHO. 
Maybe I missed that?

Anyway, the issue has been filed 
- http://projects.theforeman.org/issues/17143

Thanks for looking into this!

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to