Best way to search data in xml files?

前端 未结 5 1643
青春惊慌失措
青春惊慌失措 2021-01-23 03:42

In our new project we have to provide a search functionality to retrieve data from hundreds of xml files. I have a brief of our current plan below, I would like to know your sug

5条回答
  •  误落风尘
    2021-01-23 03:55

    Why dont you store the searchable data in a database table with key to the actual file? So your search would be on database table rather than xml file. I suppose this would be faster because you may index the table for faster searching.

提交回复
热议问题