开发者

Cfsearch in combination of documents and indexed query data?

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

If i have 2 documents attached to 1 person, 1 with say ABC in it and the other with XYZ in it, my ideal searchresult for "ABC AND XYZ" would return the 1 person. But as both 'words' are indexed in different documents, the standard behaviour is not to return any result from the cfsearch, because the combination doesnt exist in any of the 2 documents.

Is there any way to combine indexed documents and/or query data in a way that the search is executed in the combination of relevant docs and data? In my application that would mean that i could index all documents and data regarding people and have an intelligent 'global' search to find the right perso开发者_如何学Gon.

ADDED: That also means that if i have one person with several documents attached to it (and maybe some additional indexed query-data) that from a search-point-of-view i would like to treat all that data 'as one'. Ie. if i have document1 with BREAD in it and document2 of the same person with BUTTER in it, ideally the search for BREAD AND BUTTER would result in a pointer to that person. (and ofcourse the normal searchindex doesnt find any matches because neither of the two documents contain both words.

any pointers and help very much appreciated! (should Solr offer new possibilities in comparison to Verity, no problem!)

thanks!

Bart


Actually, documentation explains this pretty good.

I suppose you'll need "internet" search type. Attribute type Used to specify the parser that Verity uses to process the criteria..

All available options explained in Using Verity Search Expressions section, with nice examples.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜