Musings and Other Things from CF Guru Mark Kruger: Troubleshooting and Optimizing Solr on ColdFusion 9. Passing a query object to the CFINDEX tag is great for building an index from scratch setting my table’s “productName” as the document title. Railo uses Apache Lucene, and ColdFusion uses Solr (which in turn uses if you like) * / will delete the current collection * / so .

Author: Malasho Tejora
Country: Seychelles
Language: English (Spanish)
Genre: Health and Food
Published (Last): 11 May 2015
Pages: 364
PDF File Size: 13.59 Mb
ePub File Size: 11.56 Mb
ISBN: 829-2-80517-193-3
Downloads: 93822
Price: Free* [*Free Regsitration Required]
Uploader: Felmaran

If Solr supports the language, you can add it as follows:. Sign up or log in Sign up using Google. I setup a FTP That’s pretty good news because we already know a good deal about preventing and troubleshooting out of memory errors in Sun JRE version 1. In ColdFusion 10, the options are unlimited. Anyway, this file is bundled with an executable jar and contains the useful stuff the exe file will need to instantiate a JVM and get up and running.

Coldfusion CFSEARCH: indexing SQL data with Solr – Stack Overflow

Solr was running out of heap space but ColdFusion was not running out of heap space. Solr is a Java application under the hood. For instance, for any updates in the database, instead of a full import, you can perform delta import to update your collection.

This option was available in ColdFusion so,r, but limited to four custom fields. The site had 70 or 80 search collections and they had switched to CF9 specifically to get beyond the limitations of Verity. Searching custom fields of type text Text type field is tokenized and therefore you can search for any word in the text. Additionally, ColdFusion 10 added support for dynamic custom fields.


By default, the value is set to true. I took a look at stderr and sure enough – recent errors were all “out of codfusion Java heap errors.

The latest timestamp is created in the dataimport. Inded Kruger Related Categories: Used only for creating a collection: I’m not familiar with java app configuration.

The extensions and recurse attributes, if specified, elaborate on which files are included. VM the VM to sol for the next launch lax. In the section Configure Indexing languages, specify the following: The first one had a setting like this: In ColdFusion 10, you can sort the order in which search results have to be returned. Multiple fields can be boosted by specifying the values as a comma-separated list.

Coldfusion seemed fine and dandy. Aborts an ongoing indexing task. For a category in a category tree, the sorl of documents is the number at or below that level in the tree. Solr reads a copy of the entire index and restructures the copy into a single Segment, resulting in a much slower operation.

It’s actually a config file for an “executable jar” file compiled by a product called “launchAnwhere” – which I gather is basically “installsheild” for Java. Anyway, hopefully someone else might find that helpful if they get stuck. If the collection is not present, the tag creates it.


In fact, on reflection it was clear that the Solr service was actually still responding to requests – it was simply throwing errors.


Re-organizes all segments in a core to a single segment. Stack Overflow works best with JavaScript indx. Provides the status of indexing, such as the total number of documents processed and status such as idle or running.

Solr is a big step up from the old Verity services, but in the words of Uncle Ben Peter Parker’s uncle – not the rice guy “With great power comes great responsibility”.

On the server I have a CF script whose job it is to upload lit Because Verity maintains all the collection information, you cannot have two names point to the same collection. Removed reference to external collections. Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

Post as a guest Name. In our special situation we need to get Solr more memory and more resources to work with.