Forums / Extensions / Ezfind search based enhanced selection datatype

Ezfind search based enhanced selection datatype

Author Message

Romeo Antony

Tuesday 14 June 2011 3:11:14 am

Hi ,

       Is there anyway can I map enhanced selection attribute to solr.

       In ezfind search  , I couldn't get the results based values from a dropdown list which contain  enhaned seletion attribute values .

Anywork around ideas will be a great help.

 

Regards

Romeo Antony

GCC oman

Matthieu Sévère

Tuesday 14 June 2011 4:26:13 am

Hello,

 

Indeed ezselection index only IDs. As far as I'm concerned I started from eZ Selection 2 project (http://projects.ez.no/ezselection2) and I tweaked it to give necessary information to search engine.

Matthieu

--
eZ certified developer: http://ez.no/certification/verify/346216

Romeo Antony

Tuesday 14 June 2011 5:30:31 am

Thanks for the reply .

 

            While I was reading the forum , I read a thread thats from you about mapping of ezselection to solr felds. But frankly I didn't get much from that.

What do you suggest for me. Should I change from enhaned selection to ezselection2. Can you please give me some more ideas.

Matthieu Sévère

Tuesday 14 June 2011 5:40:42 am

That's hard to say. Personnaly I went into tweaking ezselection2 but the solution is not very stable ... 

The problem is that there is no real solution to handle selection. If your problem is only indexing I would go with a modification of metadata() method of ezselection and make a pull request, but I don't know if that's a BC break or not ...

In fact I would love to know the vision of one eZ Engineer about all the problems around ezselection .... Maybe something is planned for next release :)

--
eZ certified developer: http://ez.no/certification/verify/346216

Romeo Antony

Tuesday 14 June 2011 6:41:34 am

Thanks for the reply.

for the time being I use enhanced selection to DatatypeMap[sckenhancedselection]=text

Romeo Antony

Wednesday 15 June 2011 4:35:29 pm

Hi ,

 

  following  link http://projects.ez.no/ezselection2) is dead. and No versions from SVN available .

is there any link that point to ezselection2 download

 

Regards

Romeo

Romeo Antony

Thursday 16 June 2011 4:43:20 am

I got the working revision ..

http://svn.ez.no/svn/extensions/ezselection2/

Romeo Antony

Thursday 16 June 2011 6:37:15 am

At last  I could work ezfind with ezselection2 datatype to map to solr fileds to get the results based ezselection2 datype values.

Thanks a lot Matthieu

eZ debug

Timing: Jan 17 2025 23:53:27
Script start
Timing: Jan 17 2025 23:53:27
Module start 'content'
Timing: Jan 17 2025 23:53:28
Module end 'content'
Timing: Jan 17 2025 23:53:28
Script end

Main resources:

Total runtime1.1805 sec
Peak memory usage4,096.0000 KB
Database Queries211

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 587.8438180.8203
Module start 'content' 0.00671.0371 768.6641605.9297
Module end 'content' 1.04370.1367 1,374.5938341.0547
Script end 1.1804  1,715.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3196210.0002
Check MTime0.00140.1207210.0001
Mysql Total
Database connection0.00070.061610.0007
Mysqli_queries1.089492.28642110.0052
Looping result0.00230.19392090.0000
Template Total1.149397.420.5747
Template load0.00250.209720.0012
Template processing1.146897.149120.5734
Template load and register function0.00020.014110.0002
states
state_id_array0.00180.154210.0018
state_identifier_array0.00090.077920.0005
Override
Cache load0.00200.1730520.0000
Sytem overhead
Fetch class attribute can translate value0.00160.131530.0005
Fetch class attribute name0.00100.0866100.0001
XML
Image XML parsing0.00450.377830.0015
class_abstraction
Instantiating content class attribute0.00000.0028160.0000
General
dbfile0.00730.6160330.0002
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 30
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs