More info:
I am using the Vivio Tech OpenBD insatller edition upgrades to OpenBD 3.1
With the Bluedragon Administrator v3.0

The Administrator and Bluedragon.xml are showing different paths to where 
the collection is stored;
Administrator path: 
/opt/openbd/tomcat/logs/openbd/cfcollection/newCollection
Bluedragon.xml path: /opt/openbd/tomcat/work/cfcollection/newCollection

Which should I use? Does it matter?

Magnus



On Tuesday, 12 January 2016 21:04:30 UTC-8, Magnus wrote:
>
> I am back looking at my production search. collection. 
>
>  A collection will show up in the Administrator after I edited the 
> bluedragin.xml. It had a only a listing for a 'demo' collection and edited 
> the entries and then changed the name of the directory to match tnhe 
> collection name I wanted.
>
> When I try to run a cfcollection action="update" tag against it, it errors 
> and then the Administrator shows no collections.
>
> The same thing happens  when I clcik the index icon (lightning bolt).in 
> the Administrator when the collection is showing. Here is get an error page 
> with this meassage:
> "Failed to load class, 
> com.bluedragon.search.index.crawl.handler.FileHandlerWordImpl"
>
>
>
> ...and this:
>
> TD {font-family :  Verdana, Geneva, Arial, Helvetica, sans-serif; 
> font-size : 11px; }.redheader { background-color: #CC0033;background-image: 
> -webkit-gradient(linear, left top, left bottom, from(#CC0033), 
> to(#ff0000)); background-image: 
> -webkit-linear-gradient(top,#CC0033,#ff0000); 
> background-image:-moz-linear-gradient(top, #CC0033, #ff0000); 
> background-image: -ms-linear-gradient(top, #CC0033, #ff0000); 
> background-image: -o-linear-gradient(top, #CC0033, #ff0000); 
> background-image: linear-gradient(top, #CC0033, #ff0000);filter: 
> progid:DXImageTransform.Microsoft.gradient(startColorStr='#CC0033', 
> EndColorStr='#ff0000'); }.header_table { width: 100%; background: #fff; 
> border-collapse: collapse; border-spacing: 0; border: 1px solid #444; 
> -webkit-box-shadow: 0px 1px 3px #888; -moz-box-shadow: 0px 1px 3px #888; 
> box-shadow: 0px 1px 3px #888; }.header_table tr { border-top: 1px solid 
> #444; }CFML Runtime ErrorNeed some help? Visit our manual 
> http://openbd.org/manual/>
>
> Expression Error
>
> Request
>
> /bluedragon/administrator/datasources/collectionindex.cfm
>
> File Trace
>
> /opt/openbd/tomcat/webapps/ROOT/bluedragon/administrator/datasources/
> collectionindex.cfm
>
>
>
> Type
>
> Application
>
> Detail
>
> Data not supported
>
> Tag Context
>
> CFOUTPUT (/opt/openbd/tomcat/webapps/ROOT/bluedragon/administrator/
> datasources/collectionindex.cfm, Line=41, Column=3)
> |
> +-- CFSAVECONTENT (/opt/openbd/tomcat/webapps/ROOT/bluedragon/
> administrator/datasources/collectionindex.cfm, Line=40, Column=1)
>
> Source
>
> 88: 90: 
>
> Any help is greatly appreciated.
>
> Thanks,
> Magnus
>
> On Tuesday, 12 January 2016 13:21:55 UTC-8, Magnus wrote:
>>
>> I have used the collection tags and get the same result.
>>
>> There is an entry in the bluedragon.xml for the collection:
>>
>>   <cfcollection>
>>     <collection name="newcollection">
>>       <name>newCollection</name>
>>       <storebody>false</storebody>
>>       <relative>false</relative>
>>       <path>C:\Program Files\Apache Software Foundation\Tomcat 
>> 7.0\webapps\exchangenew\WEB-INF\bluedragon\work\cfcollection\newCollection</path>
>>       <language>english</language>
>>     </collection>
>>   </cfcollection>
>>
>> Shouldn't the administrator set things up properly?
>>
>>
>> On Tuesday, 12 January 2016 04:08:16 UTC-8, Simon Dawdry wrote:
>>>
>>> Hi Magnus, 
>>>
>>> I've also come across this working with search collections, I don't use 
>>> the adminstrator to create them though, instead favouring the search 
>>> collection functions in OpenBD.   Search collections need to be listed in 
>>> the bluedragon.xml, especially if you have to restart your server -- the 
>>> search collection files will be created in the bluedragon working directory 
>>> unless you specify a path, but without a reference in the bluedragon.xml 
>>> they don't get recognised on startup or if OpenBD is already running.  If 
>>> you create a collection, then restart OpenBD, the collection will be there, 
>>> but the engine has always needed an entry added in bluedragon.xml and a 
>>> restart to pick up on them in my experience. 
>>>
>>> collectionList() is useful for viewing which collections you have, 
>>> collectionCreate( name="collection1" ) is all you really need to get going, 
>>> same arguments as the fields you see in your screenshot of the 
>>> administrator -- http://openbd.org/manual/?/function/category/search 
>>> has plenty of info on the search collection functions. Here's an example 
>>> bluedragon.xml entry, goes in at the same level as system, file, cfquery 
>>> etc.
>>>
>>> <server>
>>> <system>...</system>
>>> <file>...</file>
>>> <cfcollection>
>>> <collection name="collection1">
>>> <name>collection1</name>
>>> <storebody>false</storebody>
>>> <relative>false</relative>
>>> <path>$/path/to/working/directory</path>
>>> <language>english</language>
>>> </collection>
>>> </cfcollection>
>>> <cfquery>etc...</cfquery>
>>> </server>
>>>
>>> Admittedly it's not the most straightforward workflow but once it's 
>>> done, it does work.  The one caveat is creating collections dynamically, 
>>> you can create them but the corresponding bluedragon.xml entry is still a 
>>> manual process and as such you lose the reference to them following a 
>>> restart if you don't add them in. 
>>>
>>> Hopefully this'll get you going with searches again!
>>>
>>> Thanks,
>>> Simon.
>>>
>>>
>>>
>>>
>>>
>>> .signature {
>>>       *name* : Simon Dawdry;
>>>      *title* : Web Development Manager;
>>>    *company* : aw2.0 Ltd <http://aw20.co.uk/>;
>>> }
>>>
>>>
>>> On 12 January 2016 at 05:22, Magnus <[email protected]> wrote:
>>>
>>>>
>>>> <https://lh3.googleusercontent.com/--Fh5NsaQk1k/VpSMEGZQqxI/AAAAAAAAApc/b7DZTrybwHc/s1600/ManageSearchCollections.jpg>
>>>> I am having trouble setting up a search collection. I am just using the 
>>>> OpenBD administrator to add a new Collection but I get a odd result. In 
>>>> the 
>>>> picture above, I have just used the form to add a new colection called 
>>>> 'newCollection'. As you can see, it tells me the collection was 
>>>> sucessfully 
>>>> added and then, that no collection can be found. As ecpected, any code run 
>>>> against this errors with no collection found.
>>>>
>>>> I get the same problem on multiple sites on the same server and on 
>>>> installs on every other machine I have access to that I have put OpenBD 
>>>> on. 
>>>> All are running OpenBD 3.1, with Tomcat (6 or 7) and Apache. I can't get 
>>>> it 
>>>> working anywhare.
>>>>
>>>> I have also rtried this programmatically, and get the same errors. In 
>>>> fact I first encountered this a while bvack after upgrading a production 
>>>> server and posted about it here: 
>>>> https://groups.google.com/forum/#!searchin/openbd/cfcollection/openbd/b8PVKZYGtPY/QS_3gTLBDC8J
>>>>
>>>> What the heck is going on?!?
>>>>
>>>> Magnus
>>>>
>>>> -- 
>>>> -- 
>>>> online documentation: http://openbd.org/manual/
>>>> http://groups.google.com/group/openbd?hl=en
>>>>
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Open BlueDragon" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>

-- 
-- 
online documentation: http://openbd.org/manual/
 http://groups.google.com/group/openbd?hl=en

--- 
You received this message because you are subscribed to the Google Groups "Open 
BlueDragon" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to