• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Measuring Speed

Marcus

Well-known member
#1
I created a basic search on both my slow test board with stock xenforo as well as the live board with elasticsearch and a much faster computer, and the results are around the same.

How do you measure the speed of this search engine? And how do you optimize elasticsearch?
 

digitalpoint

Well-known member
#2
What query are you using to test? The more complex the query, the slower the default MySQL FULLTEXT search is going to be.

Also, how many posts are in your database?
 

Marcus

Well-known member
#3
I have more than one million posts, and the query was very basic like "house". I was just surprised that the elasticsearch query did take some time, maybe because of the general overhead.
 

AndyB

Well-known member
#6
I have more than one million posts, and the query was very basic like "house". I was just surprised that the elasticsearch query did take some time, maybe because of the general overhead.
How much time?

Remember that ElasticSearch is used to narrow down the results and those results are then given to MySQL for a final query.