Cfsearch combined documents and indexed query data?

I have an application that stores all the data about people. The current functionality of cfsearch (in Verity) includes finding documents that are attached to these people.

If I have 2 documents attached to 1 person, 1 with ABC in it, and the other with XYZ in it, my ideal searchresult for "ABC AND XYZ" will return 1 person. But since both words are “indexed” in different documents, standard behavior should not return any result from cfsearch, because the combination does not exist in either of the two documents.

Is there a way to combine indexed documents and / or query data so that the search is performed in a combination of the relevant documents and data? In my application, this would mean that I could index all documents and data about people and have an intelligent “global” search to find the right person.

ADDED: This also means that if I have one person with several documents attached to it (and possibly some additional indexed query data), which, from a search point of view, I would like to process all this data as one. ' I.e. if I have document1 with BREAD in it and document2 of the same person with BUTTER in it, ideally, searching for BREAD AND BUTTER will lead to a pointer to that person. (and, of course, the regular searchindex does not find matches, because neither of the two documents contains both words.

Any pointers and help are greatly appreciated! (If Solr offers new features compared to Verity, no problem!)

thank!

Bart

+3
source share
1 answer
0

Source: https://habr.com/ru/post/1737434/


All Articles