Skip to main content
Inspiring
May 30, 2006
Question

Verity with categories problems

  • May 30, 2006
  • 2 replies
  • 473 views

I am using the categories feature of verity in ColdFusion MX 7.0.1 Cumulative Hot Fix 2.

My test collection contains 77 documents
Some documents have more than one category
Categories are numbers, 1,2,3,etc

When I do a search and specify the categories to search on it returns very few records (in this case 7) even when I specify all possible categories in the cfsearch tag. If I remove all categories from the cfsearch tag and run the same search I recieve 77 results.

I have tried recreating the collection, purgeing it and repopulating, restarting the server with no effect.

Any help you can provide would be apreciated.
Thanks
This topic has been closed for replies.

2 replies

Participating Frequently
October 12, 2006
Rather than using categories try the following: create 3 separate collections then write some programming that searches the selected collection. If you need to see all at once, write code that appends all collections then searches all collections.
MudockSRAuthor
Inspiring
October 13, 2006
Thanks for the suggestion but I am not sure that it would solve my issue. I have significatly more than 3 categories that I wish to index and they are all dynamically generated out of a database. While I could dynamically generate the collections I think the overhead of having that many might be to much.

Any expirance with searching large numbers of collections?
Participating Frequently
October 13, 2006
I have searched 6 separate collections within cfsearch.
<cfsearch
name = "Coll_Results"
collection = "#DocCollOne,DocCollTwo,DocCollThree,DocCollFour,DocCollFive,DocCollSix#"
criteria = "#Form.Criteria#">

Verity handles the comma delinated collections nicely. You can also cfsearch a collection of multiple collections.
I have not experienced the overhead that people are talking about. Im using Win2K , 2gig Ram, MX7 ver 7.0.1
(which contains Verity 5.5) with the Aprils Coldfusion Updater. Indexing directories of docs have the lowest overhead. Indexing DB tables Is memory intensive, basically a duplication of efforts, by gathering info in memory then indexing gathered info again in memory.
does have
August 29, 2006
Hi,

Did you ever resolve this issue? If so, please let me know, I'm having the same problem with my collections.

Thanks...

MudockSRAuthor
Inspiring
August 29, 2006
Not really,
With all of the latest updates applied the categories appear to work fine, but now the problem I am having is that it refuses to index all of my documents.

The other thing that I did since posting that last message was to reinstall Verity outside of the ColdFusion root. Search the Forums and I am sure that you can find instructions on that. (didn't help me though)