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

Exclude words in search

Explorer ,
Apr 01, 2013 Apr 01, 2013

Copy link to clipboard

Copied

I am using CF9 on a virtual server so I have control over the stopwords.txt file.

I presumed it would be as simple as adding my own words to the file, but it didn't go that smoothly.

I search the CF folder and it found 5 files named stopwords.txt.

Here is where they were found:

H:\ColdFusion9\solr\solr\conf

H:\ColdFusion9\solr\multicore\core0\conf

H:\ColdFusion9\solr\multicore\template\conf

H:\ColdFusion9\solr\example-DIH\solr\db\conf

H:\ColdFusion9\solr\example-DIH\solr\rss\conf

I tried editing the first 3 (since the bottom 2 said example, I didn't edit those).  I restarted the ColdFusion 9 Search Server and ColdFusion 9 Solr Service then rebuilt the indexes.

The search still found the word I added.

Advice on how to exclude words would be appreciated.  If it could be done through a database table that I could create and give supervisor staff access to that would be even better than having to edit a server file, restart services and rebuild indexes.

Thank you

Views

496

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 ,
Apr 05, 2013 Apr 05, 2013

Copy link to clipboard

Copied

LATEST

Bump. 

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