There may be a problem with this question itself. Ajax does not solve the performance problem, but the page is not refreshed. The specific response speed of the found results is the processing speed of the background. If you use a java application, you can communicate directly.
I think we can improve the query speed from two aspects.
1. If there are not many query conditions, for example, just search by title. Then, similar conditions can be placed in memory.
2. If the query conditions are relatively large, use full-text search. Similar to Lucene mentioned above, of course, if you don’t have time to study too deeply, you can use
solr, or sphinx, etc.
If you want to implement search, you can use Lucene, which is faster than sql like.
There may be a problem with this question itself. Ajax does not solve the performance problem, but the page is not refreshed. The specific response speed of the found results is the processing speed of the background. If you use a java application, you can communicate directly.
I think we can improve the query speed from two aspects.
1. If there are not many query conditions, for example, just search by title. Then, similar conditions can be placed in memory.
2. If the query conditions are relatively large, use full-text search. Similar to Lucene mentioned above, of course, if you don’t have time to study too deeply, you can use
solr, or sphinx, etc.