You might want to look at Jim Fuller's article about classifying content (
http://www.ibm.com/developerworks/xml/library/x-contentclassxquery/index.html )
and do something like that on the document and then see if any of those
terms in the document exist in your topic list.

-Ryan Dew

On Thu, May 24, 2012 at 10:05 AM, <[email protected]> wrote:

>  I have a requirement where the end user would like to add “tags” to
> individual documents.****
>
> ** **
>
> I’m maintaining a separate domain specific list of terms which I suggest
> to the user as potential tags they can select to apply to the document.***
> *
>
>
> This list of terms is around 4000 items long. And it will continue to grow.
> ****
>
> ** **
>
> What I want to do -> ****
>
> ** **
>
> 1. user creates a document ****
>
> 2. execute a search against that document with each of these 4000 terms***
> *
>
> 3. use results to suggest tags to the user that are already part of the
> document, so they don’t have to think of them on their own****
>
> ** **
>
> I tried running search:search 4000 times against the one document. It just
> timed out (which makes sense)****
>
> ** **
>
> I know there has to be a better way to do this. Any suggestions? ****
>
> ** **
>
> Thanks!****
>
> ** **
>
> Matt****
>
> _______________________________________________
> General mailing list
> [email protected]
> http://community.marklogic.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
http://community.marklogic.com/mailman/listinfo/general

Reply via email to