Searching a Word doc

Jan 8, 2013 at 10:15 AM

I'm looking at using PHPWord for a project that will need to include hundreds of word docs as part of a search engine query.  Can PHPWord be used for this?  I've looked through the documentation but can't seem to find anything that would help me do this.

Can anyone provide any example code for this?

Jan 20, 2013 at 8:47 PM

What do you want to do? Do you mean for a search engine to be able to index Word documents? If so, search engines already do that: you would not need to do anything special.

Jan 21, 2013 at 3:32 PM

I'm looking after a site which is pretty much a document repository.  There's a search facility which currently just searches title and description (user entered data).  They want it to be able to search through the documents that are stored on the server.  Is PHPWord something that would be able to help with that?  And can you point me in the direction of any example code as I've struggled to find much on this.