ezfind ezselection with multiple choice not indexed

Author Message

H-Works Agency

Tuesday 02 February 2010 7:45:17 am

I have a ezselection attribute on a class with multiple choice and ezfind doesn't find anything when i search for one of the value.

Does ezfind works with ezselection with multiple choice ?

I have an object with ezselection attribute values : Pop + Rock

I run updatesearchindexsolr.php script to be shure my database is indexed.

Then i search my contents via the admin siteaccess (which has ezfind activated) for 'Pop' in the search field and nothing is returned.

Does anyone has already seen that ?

EZP is Great

Paul Borgermans

Tuesday 02 February 2010 8:14:15 am

That works here (ez publish 4.2, ezfind 2.1)

Did you declare it to be treated as a string in Solr? (see ezfind.ini)

If so , it won't work

Paul

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

H-Works Agency

Tuesday 02 February 2010 9:07:53 am

Thank you Paul, you are totally right. I've declared ezselection as a string, it work after i removed it.

I have to read a little further solR documentation.

Sorry to bother you with such topic :\

Regards

EZP is Great

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 02:21:11
Script start
Timing: Jan 18 2025 02:21:11
Module start 'layout'
Timing: Jan 18 2025 02:21:11
Module start 'content'
Timing: Jan 18 2025 02:21:11
Module end 'content'
Timing: Jan 18 2025 02:21:11
Script end

Main resources:

Total runtime0.0144 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.1875152.6563
Module start 'layout' 0.00550.0031 740.843839.5078
Module start 'content' 0.00860.0040 780.351690.3516
Module end 'content' 0.01260.0017 870.703134.3047
Script end 0.0143  905.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002315.9720140.0002
Check MTime0.00107.0423140.0001
Mysql Total
Database connection0.00064.243010.0006
Mysqli_queries0.003021.233430.0010
Looping result0.00000.069810.0000
Template Total0.00149.910.0014
Template load0.00074.934110.0007
Template processing0.00074.940810.0007
Override
Cache load0.00053.385810.0005
General
dbfile0.00021.606580.0000
String conversion0.00000.041540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs