ezFind SOLD settings

Author Message

Ivan Švogor

Tuesday 21 December 2010 6:51:58 am

Hello,

I have a question regarding ezFind and SOLR. I've successfuly installed it and configured it but I have one issue. Parts of my page are using some data from external web service. Trought this service I'm getting some data and display it on my site. When i use ezFind, it doesn't index this content, and I cannot search this content.

How can I configure ezFind to work with this data from external services?

Thanks

Ivo Lukac

Tuesday 21 December 2010 7:02:46 am

Hi,

Just tested this feature few days ago with eZFind 2.3 and it is possible but it is not something that is explainable in a forum post. There are some tweaks needed, some bug fixing and some advanced solr setup & configuration know-how. And some XML and REST programming :)

But it is possible.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Paul Borgermans

Wednesday 22 December 2010 2:14:29 pm

There are some nasty bugs with eZ Find 2.3 as released to have a smooth integration with arbitrary external sources/indexes. But stay tuned for a new year (=somewhere in January) community edition / intermediate release that will fix these and other issues.

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Ivan Švogor

Thursday 23 December 2010 6:35:42 am

I think I've figured it out. I will need to create an intermediate webservice. Now, results from this service are in one xml with plain text, separated by tags (so solr can know the difference) This will be another source for solr. And when it finds the result, I need to create a link somehow... nasty stuff, but needed. It would be a great feature! Thank you both..

Nicolas Pastorino

Thursday 23 December 2010 7:01:20 am

Good to read you could work around this Ivan !

I am sure the forthcoming versions of eZ Publish will provide a nice boilerplate for indexing 3rd party data !

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Ivo Lukac

Thursday 23 December 2010 7:05:30 am

"

I think I've figured it out. I will need to create an intermediate webservice. Now, results from this service are in one xml with plain text, separated by tags (so solr can know the difference) This will be another source for solr. And when it finds the result, I need to create a link somehow... nasty stuff, but needed. It would be a great feature! Thank you both..

"

Ok, you are promoted to eZ Find expert and you can give answers on the forum from now on ;)

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Nicolas Pastorino

Thursday 23 December 2010 10:02:19 am

"

Ok, you are promoted to eZ Find expert and you can give answers on the forum from now on ;)

"

+1 :)

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

gilles guirand

Thursday 23 December 2010 1:16:13 pm

I did this kind of stuff in different way, but i think the easier method is :

  • To build a custom datatype, to link your external data (IDs and external database, or full XML items)
  • To create a custom PHP Class to map your datatype with Solr

Tuto needed ? :)

--
Gilles Guirand
eZ Community Board Member
http://twitter.com/gandbox
http://www.gandbox.fr

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 04:55:30
Script start
Timing: Jan 18 2025 04:55:30
Module start 'layout'
Timing: Jan 18 2025 04:55:30
Module start 'content'
Timing: Jan 18 2025 04:55:31
Module end 'content'
Timing: Jan 18 2025 04:55:31
Script end

Main resources:

Total runtime0.5758 sec
Peak memory usage4,096.0000 KB
Database Queries80

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0093 587.9375152.6250
Module start 'layout' 0.00930.0037 740.562539.4531
Module start 'content' 0.01300.5613 780.0156730.8828
Module end 'content' 0.57430.0015 1,510.898420.1641
Script end 0.5757  1,531.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.5771160.0002
Check MTime0.00130.2318160.0001
Mysql Total
Database connection0.00100.178410.0010
Mysqli_queries0.496586.2254800.0062
Looping result0.00090.1621780.0000
Template Total0.539093.620.2695
Template load0.00210.370620.0011
Template processing0.536993.247920.2685
Template load and register function0.00020.037010.0002
states
state_id_array0.00090.154210.0009
state_identifier_array0.00080.135320.0004
Override
Cache load0.00180.3084400.0000
Sytem overhead
Fetch class attribute can translate value0.00060.108750.0001
Fetch class attribute name0.00200.3501120.0002
XML
Image XML parsing0.00601.035950.0012
class_abstraction
Instantiating content class attribute0.00000.0059140.0000
General
dbfile0.00540.9323370.0001
String conversion0.00000.001940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 31
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs