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

Help creating a search

Explorer ,
Oct 29, 2012 Oct 29, 2012

Copy link to clipboard

Copied

I created a document management section for our departments site (CF9).  I'm asking for help creating a new part of the search, and will list all of the parts I am looking for help with, that way if you can only contribute to one part, it will get me that much closer to what I need.  I already have a Title only search working, and added a second search that does both Title and Keywords.  I am using cfindex and simply created a new collection for the Keywords and searched the two collections.  Our staff will mostly search only Titles but wanted the option to search all content.

The next colletion will be for the content of the documents.  The site will contain .doc and .docx files.  All files are maintained in the same folder.  There is a MS SQL database table that indicates if the file is in an archive status or active.  The same table lists the document number and its extension.

So, what I want to do is query the database to see what files I want the index to scan.  I need to dump the collection each night just after midnight and re-do the index.  There will be documents added and archived on a regular basis and I don't want archived documents remaining in the collection.

Almost every document will contain common words such as the, and... so if a user searched for "the correct temperature" I don't want to retrieve all of the documents.  How can I exclude common words?

Thank you

Views

567

Translate

Translate

Report

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
LEGEND ,
Oct 29, 2012 Oct 29, 2012

Copy link to clipboard

Copied

If you build a Solr collection, I believe the common words are already by default not included in searches.

^_^

Votes

Translate

Translate

Report

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
Explorer ,
Nov 21, 2012 Nov 21, 2012

Copy link to clipboard

Copied

LATEST

Thanks,

I deleted the Verity and created the Solr collections.  By the way, how do you pronounce that, Solar?

I still need help indexing the documents.

As I mentioned, there is a single folder of .doc or .docx files, but I only want to index the active ones.  To determine the active ones I will do a simple db query first.

Is this possible?  If not I will need to redo the way files are archived and move them to a different folder.

Thank you

Votes

Translate

Translate

Report

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
Documentation