We are running Enterprise Webinator 5.0.9 on Windows 2003 Server. I want to implement a variation of profiling for our purpose (not for selling 'ad words'). Here is what I know:
http://www.thunderstone.com/texis/site/ ... iling.html
I want to do what the last paragraph describes in my search script.
So I kind of want to keep two arrays, match the query against the first array which will have all the 'keywords' and the second array will consist of chunks of text (including urls, etc) that I wish to show when something matches in the first array for the corresponding position.
Issues:
1) How to efficiently implement this structure considering that it is part of the search script?
2) How can I do the comparison? For example, if the query matches something from the first array at position 3, then I wish to show everything from the second array at position 3 (I want to put multiple descriptions at the 3rd position so that more than one listing can be shown for a particular keyword')
3) What happens if the query matches multiple keywords from the first array? The most basic idea I can think of is to break the user query down into words, search for each word using OR logic in the first array (keywords) and display items from the second array (descriptions etc.) for the matches. I will only show max 3 listings.
4) The biggest problem, if I have more than 3 listings for a particular keyword and if I am only displaying 3 listings per result page. How can I keep track of what's already displayed and display the next set of 3 when the user clicks to go to different result page?
http://www.thunderstone.com/texis/site/ ... iling.html
I want to do what the last paragraph describes in my search script.
So I kind of want to keep two arrays, match the query against the first array which will have all the 'keywords' and the second array will consist of chunks of text (including urls, etc) that I wish to show when something matches in the first array for the corresponding position.
Issues:
1) How to efficiently implement this structure considering that it is part of the search script?
2) How can I do the comparison? For example, if the query matches something from the first array at position 3, then I wish to show everything from the second array at position 3 (I want to put multiple descriptions at the 3rd position so that more than one listing can be shown for a particular keyword')
3) What happens if the query matches multiple keywords from the first array? The most basic idea I can think of is to break the user query down into words, search for each word using OR logic in the first array (keywords) and display items from the second array (descriptions etc.) for the matches. I will only show max 3 listings.
4) The biggest problem, if I have more than 3 listings for a particular keyword and if I am only displaying 3 listings per result page. How can I keep track of what's already displayed and display the next set of 3 when the user clicks to go to different result page?