Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Please help me understand Categories within Verity search (CF8)

New Here ,
Nov 20, 2012 Nov 20, 2012

I'm not sure why I can't understand how categories work within Verity, but the documentation isn't helping much, and web searches are yielding anything either.

Here's what I'm doing; I have a folder that contains a few subfolders...in these are PDF files.  I have a collection setup that recursively indexed all documents, and allows me to search for them, no problem.  This works.

What I'd like to do is create categories in this collection that correspond to the folders the files are in.  For example, the structure could be:

Main Folder

   -Folder 1

   -Folder 2

   -Folder 3

      -Folder A

      -Folder B

So the category names would be Folder 1, Folder 2, Folder 3, etc.

So when I search, I can allow the users to select checkboxes to search only certain categories.

My question is, how do I do this when I re-index the collection?  Am I going to be forced to create a separate collection for EVERY category and subcategory? And then search multiple collections when using CFSEARCH?

Very confused, thanks in advance for any help

T

659
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Nov 20, 2012 Nov 20, 2012

Did you read this in the documentation?

Narrowing searches by using categories

http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec0ef2f-7ff6.html...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 20, 2012 Nov 20, 2012

Yes, I did, but I still don't understand.  If I have a collection called "manuals", then folders indexed like "License" and "Procedures", Do I have to create:

<cfindex collection="ManualsLicense"

    action="update"

    extensions=" .pdf"

    recurse="Yes"

    category="license"

    categoryTree="manuals/license">

AND

<cfindex collection="ManualsProcedures"

  action="update"

  extensions=" .pdf"

  recurse="Yes"

  category="procedures"

  categoryTree="manuals/procedures">

I'm just not understanding how Verity knows what category my documents are in.  Right now, they're just in different folders.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Nov 20, 2012 Nov 20, 2012
LATEST

To be honest, I have not messed with Verity collections for a while.  Will it not allow you to update the same collection with different params.  Something like this:

<cfindex collection="Manuals" 

    action="update" 

    type="path"

    key="C:\inetpub\wwwroot\manuals\license" 

    urlpath="http://localhost/manuals/license"

    extensions = ".pdf"

    recurse="Yes"

  categoryTree="manuals/license"

    category="license">

AND

<cfindex collection="Manuals" 

  action="update" 

  type="path"

  key="C:\inetpub\wwwroot\manuals\procedures" 

  urlpath="http://localhost/manuals/procedures"

  extensions = ".pdf"

  recurse="Yes"

  categoryTree="manuals/procedures"

  category="procedures">

Or does the "update" action replace and not add to the index?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources