Questions tagged [cfindex]

cfindex populates a search engine collection with metadata and creates indexes for searching in ColdFusion. Use the tag to relate to questions pertaining to ColdFusion.

cfindex is a part of Extensibility Tags in Adobe's ColdFusion bundle. it populates a search engine collection with metadata and creates indexes for searching it for both Verity and Solr search engines. The engines can search physical files of various types or a database query. Indexing database columns that result from a query lets users search the query data much faster than comparable SQL queries.

For more information on creating, indexing, and searching a collection, see Building a Search Interface in the Developing ColdFusion Applications.

Sample usage

<cfindex collection="CodeColl"  
    action="refresh"  
    type="file" 
    key="C:\ColdFusion\wwwroot\vw_files\cfindex.htm"  
    urlpath="http://localhost:8500/vw_files/" 
    language="English" 
    title="Cfindex Reference page" 
    status="info">
19 questions
3
votes
0 answers

cfindex shows records inserted but doccount is 0

I'm using cfindex on a query but I can't get the data out of the index. My other indexes have a doccount greater than 0 when I check their collections, but this one is always 0 even though the status of the refresh has a value. Here is my…
Leeish
  • 5,203
  • 2
  • 17
  • 45
3
votes
1 answer

cfindex how many custom fields can we have

im currently putting together a search function for my site using cfsearch. We are using CF 10 so i believe it runs on Solr. In the cfindex tag, i can see that we can add some custom fields, but due to the large amount of information our search is…
user125264
  • 1,809
  • 2
  • 27
  • 54
2
votes
0 answers

Including the filename in a solr collection?

Is it possible to index a file, in a ColdFusion Solr collection, and include the filename in a way that's searchable? If I search for a filename I know is indexed, and a dump of the collection shows the key and url contains that filename, it brings…
luke
  • 415
  • 1
  • 4
  • 14
2
votes
1 answer

How can I insert the last date of modification as a field in a ColdFusion CFIndex of a collection of documents?

How can the cfindex of a collection be made to include a column containing the Date Modified of the various kinds of documents in a specified directory path? Documentation seems to cover this for database collection searches but is silent on…
Maxhirez
  • 99
  • 7
2
votes
1 answer

coldfusion cfsearch is not working for keyword smoking

I have Four files[One .PDF, one .doc and Two .docx]. I have created one ColdFusion collections named "testCollection" using ColdFusion Administrator. In Manage ColdFusion Collection screen i entered File Extensions [.pdf, .doc, .docx] and the…
Arun
  • 215
  • 3
  • 11
1
vote
0 answers

CFINDEX giving the error "Your document contained more than 100000 characters, and so your requested limit has been reached."

In ColdFusion 2016, I am trying to index a large file contains more than 100000 characters. I getting the below error org.apache.tika.sax.WriteOutContentHandler$WriteLimitReachedException: Your document contained more than 100000 characters, and…
1
vote
0 answers

Coldfusion indexing Corrupt File

Running a refresh on the first file then an update on all others. Recurse may not be…
Wil Hale
  • 21
  • 2
1
vote
0 answers

ColdFusion 9 Verity Update

I have a usable Verity collection, initially populated thusly: GetPages…
Jim Cook
  • 13
  • 1
  • 1
  • 3
1
vote
0 answers

cfindex custom fields that are used for display no indexible

Currently working with Coldfusion 10 and cfsearch. After many hours of trial and error, I have managed to get cfindex to collect all my custom field data so that it is available to me as fields for the output on my search results page. My only issue…
user125264
  • 1,809
  • 2
  • 27
  • 54
1
vote
1 answer

'FieldBoost' causes CFIndex to fail

I read in the CF10 docs that the attribute 'FieldBoost' has been added to CFIndex in order to specify which fields should have more importance in Solr's scoring. However, it seems that not only does it not work as intended, it in fact causes the…
Gary Stanton
  • 1,435
  • 12
  • 28
1
vote
1 answer

Indexing queries in Railo

I went to the Web Administrator > Services > Search. I manually create a collection with: name "articoli" path (a fake one, e.g. /tmp) Italian language Then in my indexer template: SELECT * FROM articoli…
Fabio B.
  • 9,138
  • 25
  • 105
  • 177
0
votes
0 answers

ColdFusion 11 Update 19 - new SOLR collection "not found" issue

We are using a number of SOLR collections in CF 11. The collections that were created before we applied update 19 are being refreshed properly and work fine. However, the collections that were created after we installed update 19 do not function…
0
votes
0 answers

How many ColdFusion collections are too many?

We are using CF 11 on Windows server 2012 R2. Having the structure of our data we need to use either one really large or about 500 small Solr collections. What are the pros and cons for doing it either way? Is there any guide/reference for the best…
0
votes
1 answer

Does HTMLStripCharFilterFactory @ Solr 3.4 strip out html for returned fields?

I'm using CF10 which should be using Solr 3.4 according to corporatezen.com/2013/11/updating-solr-engine-coldfusion. I added to but the summary field in the search result…
Henry
  • 32,689
  • 19
  • 120
  • 221
0
votes
1 answer

cfindex causing template to be killed

my first question on stack, I'm running cf10 Enterprise on windows 2003 server AMD Opteron 2.30 Ghz with 4gb ram. Im using cfindex action = update to index over 1k pdfs I'm getting jvm memory errors and the page is being killed when its run as a…
1
2