What I need is an interface from Swish-e ([url removed, login to view]) to PHP so that I can effectively say, e.g. by using calls to PHP functions:
"Return me the subset of ids of the documents in such-and-such directory whose filenames are in this list and who match the following text search criteria".
Then I can use the subset of ids (along with other search criteria internal to my own application) to return a matched list to the user.
Search capability should be:
a) simple text match supplied search terms using OR ... e.g. php css will return all documents containing either php OR css
b) simple text match using AND e.g. php +css will return documents containing both php AND css
c) combined text search using AND and OR e.g. php css +mysql will return documents containing php OR css AND containing mysql
d) combined text search using AND NOT e.g. php css +mysql -oracle will return documents containing php OR css AND containing mysql AND NOT containing oracle
e) exact text match e.g. "rhubard and custard" will return documents containing the exact text rhubarb and custard
f) exact text NOT match e.g. -"apple sauce" will return documents NOT containing the exact text apple sauce
g) combined search using a, b, c, d, e, f (above) e.g. php css +mysql - oracle "rhubarb and custard" -"apple sauce" will return documents containing php OR css AND containing mysql AND NOT containing oracle that contain the exact words rhubarb and custard but do NOT contain the words apple sauce
h) searches should be part word by default e.g. mysql will match mysql mysqldump and xmysql
i) searches should be switchable to require whole word matches e.g. mysql will match mysql but NOT mysqldump or xmysql - the global nature of the switch will mean that mysql +php will match mysql php but not mysqldump php or mysql php5
The ability to return a 'snippet' of the text surrounding the matched terms woud be a bonus.
I will provide a bare Rackspace cloud server for development/testing which can be provisioned with PHP5 and the requisite modules and libraries. I can supply trial data for development, testing, approval and signoff.
8 freelancers are bidding on average $550 for this job
i understood you requirement and i will do the same for you... you will be satisfied with my work and if u want i can makeover the css of site with this