Re: Solr Question

2011-07-20 Thread Dave Watts

> I have a query that I'm using to populate a Solr collection.  This query
> has about 15 columns in it.  When I call the collection I need to be able
> to reference these columns individually, just as if I had run the query.
> But the only way I can figure to do that is to use the "custom" attributes,
> and the cfindex tag only allows for 4 of those.
>
> Is Solr going to be able to do what I want, or am I going to have to try
> something else?

You're not going to be able to do this, because Solr isn't going to
preserve the structure of your table. Instead, run your search, then
fetch the appropriate records from your database using the primary key
field that you can store within Solr.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsit

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346288
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Solr Question

2011-07-20 Thread Scott Stroz

You can set up a custom schema, but that means that you will not be
able to use cfindex and cfsearch. Rather, you would need to use the
built in web services that come with Solr.

Here is a good place for info on how to do that:
http://lucene.apache.org/solr/features.html

On Wed, Jul 20, 2011 at 5:34 PM, cft...@ecartech.com
 wrote:
>
> I have a query that I'm using to populate a Solr collection.  This query
> has about 15 columns in it.  When I call the collection I need to be able
> to reference these columns individually, just as if I had run the query.
> But the only way I can figure to do that is to use the "custom" attributes,
> and the cfindex tag only allows for 4 of those.
>
> Is Solr going to be able to do what I want, or am I going to have to try
> something else?
>
> Thanks,
>
> Eric Cobb
> http://www.cfgears.com
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346287
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Orm update to reflect db changes

2011-07-20 Thread Victor Moore

Hi,

I have a question about orm on CF 9.01.

When I make changes to the db the calls using orm do not see the
changes. The only way to fix it is to re-start the server. While this
is OK in dev not so  much in prod .
Is there any setting I can use so it can refresh the db changes?

Thanks
Victor

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346286
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Solr Question

2011-07-20 Thread cft...@ecartech.com

I have a query that I'm using to populate a Solr collection.  This query 
has about 15 columns in it.  When I call the collection I need to be able 
to reference these columns individually, just as if I had run the query.  
But the only way I can figure to do that is to use the "custom" attributes, 
and the cfindex tag only allows for 4 of those.  

Is Solr going to be able to do what I want, or am I going to have to try 
something else?

Thanks,

Eric Cobb
http://www.cfgears.com 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346285
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


adding custom variable to cfquery metadata

2011-07-20 Thread Richard White

Hi,

is there any way to add custom variables to cfquery metadata.

for example: i know i can add them as follows: 

mt = getMetaData(query)
mt[1].newVar = "value";

however, this query gets passed through various functions so instead of also 
passing the metadata through, i would just like to call getMetaData(query) in 
another function and it will also return the myVar variable that was previously 
set

thanks


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346284
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: missing args in jvm

2011-07-20 Thread Russ Michaels

They are for security sandboxes, most likely to not exist on a non standard
install such as multi server or war deployment.

Russ
On 20 Jul 2011 10:21, "Steve 'Cutter' Blades" <
cold.fus...@cutterscrossing.com> wrote:
>
> I want to say that those entries come from one of the hotfixes...
>
> Steve 'Cutter' Blades
> Adobe Community Professional
> Adobe Certified Expert
> Advanced Macromedia ColdFusion MX 7 Developer
> 
> http://blog.cutterscrossing.com
>
>
> Co-Author "Learning Ext JS 3.2" Packt Publishing 2010
>
https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book
>
> "The best way to predict the future is to help create it"
>
>
> On 7/19/2011 11:08 PM, Robert Rhodes wrote:
>> Hi to all.
>>
>> I notice that the jvms on a couple of my cf9.01 installs dont include
these
>> args that the others do:
>>
>> -Djava.security.policy={application.home}/../lib/coldfusion.policy
>> -Djava.security.auth.policy={application.home}/../lib/neo_jaas.policy
>>
>> What are these for, and why would they be missing form a couple of the
>> installs?
>>
>> Maybe I did the 9.01 patch incorrectly on those two boxes? It is a bit of
a
>> pain in the ass
>>
>> RR
>>
>>
>>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346283
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: missing args in jvm

2011-07-20 Thread Steve 'Cutter' Blades

I want to say that those entries come from one of the hotfixes...

Steve 'Cutter' Blades
Adobe Community Professional
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer

http://blog.cutterscrossing.com


Co-Author "Learning Ext JS 3.2" Packt Publishing 2010
https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

"The best way to predict the future is to help create it"


On 7/19/2011 11:08 PM, Robert Rhodes wrote:
> Hi to all.
>
> I notice that the jvms on a couple of my cf9.01 installs dont include these
> args that the others do:
>
> -Djava.security.policy={application.home}/../lib/coldfusion.policy
> -Djava.security.auth.policy={application.home}/../lib/neo_jaas.policy
>
> What are these for, and why would they be missing form a couple of the
> installs?
>
> Maybe I did the 9.01 patch incorrectly on those two boxes?  It is a bit of a
> pain in the ass
>
> RR
>
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346282
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm