• Hello,
    I was wondering if WP is capable of doing document searches. The process is as follows: The user will search on a field for the document name. The search field will then search a database that has pdf documents. If the document name is entered X times, the search field will time out. If this is possible, what plugin is this?

    As far as the database, I was thinking that the documents would reside in the provider’s storage that comes with the account. Is this possible? Are there easier ways?

    Thank you in advance.

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    By default WP only searches within its database. WP can be extended to do anything that’s possible with PHP. I don’t quite understand your process description, but it sounds specific enough that there’s unlikely a plugin that works exactly like that. One could adapt an existing search plugin to work that way. Or you can change your data schema to match the way available plugins work.

    Often adapting a plugin is more trouble than it’s worth. Developing a bespoke plugin from scratch will deliver exactly what you need, but at a cost of time and/or money, depending on your skills and resources. If you need it, searching within PDF documents themselves is quite involved, but libraries like PDF Parser are available to help with that. I suspect such searches would be quite resource intensive, which may require careful implementation on busy servers.

    The documents can reside anywhere that’s accessible to PHP. The server on which it’s running would be best, but anywhere on the Internet is theoretically possible.

Viewing 1 replies (of 1 total)
  • The topic ‘pdf search and database’ is closed to new replies.