Or search

Author Message

Julien Plesniak

Monday 17 December 2007 8:18:52 am

hello,

how to do an or search?
Example, if i write "dog cat", i want to return all the dog and all the cat.

thanks for help

Kåre Køhler Høvik

Friday 21 December 2007 1:19:57 am

Hi

eZ Find does not support or searches at the moment. Please add it as a feature enhancement in the issue tracker if this is something you'd like in future versions.

Kåre Høvik

Arnaud Lafon

Thursday 20 March 2008 3:56:17 am

Hi guys,

Any update about this ezfind feature ?

We really need to make this working.
I searched into the solr***.php files.
I can't figure out why a solr query in the solr administration with "keyword" OR "keyword" is working and not working through ezfind...

Best regards,
Arnaud

Looking for information about SQLI ?
Looking for a new job in Paris ?
Please contact me at alafon [at] sqli [dot] com

Julien Plesniak

Friday 21 March 2008 1:03:43 am

Hello,
to do the OR search, i modify the kernel of the search

Arnaud Lafon

Friday 21 March 2008 6:45:30 am

Hi Julien,

thx for your reply.
Could you explain us how did you do that ?

I've tried a lot of hack in these classes, without good result :(
extension/ezfind/classes/ezsolrbase.php
extension/ezfind/classes/ezsolrdoc.php
extension/ezfind/search/plugins/ezsolr/ezsolr.php

Looking for information about SQLI ?
Looking for a new job in Paris ?
Please contact me at alafon [at] sqli [dot] com

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

Main resources:

Total runtime0.4591 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.9375152.6094
Module start 'layout' 0.00560.0046 741.546939.4297
Module start 'content' 0.01020.4471 780.9766600.5000
Module end 'content' 0.45730.0018 1,381.476612.1875
Script end 0.4591  1,393.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.7413160.0002
Check MTime0.00140.2969160.0001
Mysql Total
Database connection0.00080.176910.0008
Mysqli_queries0.395986.2384670.0059
Looping result0.00080.1785650.0000
Template Total0.414990.420.2075
Template load0.00230.504220.0012
Template processing0.412689.869820.2063
Template load and register function0.00010.028310.0001
states
state_id_array0.00130.285410.0013
state_identifier_array0.00140.306420.0007
Override
Cache load0.00210.4469320.0001
Sytem overhead
Fetch class attribute can translate value0.00080.182830.0003
Fetch class attribute name0.00130.276070.0002
XML
Image XML parsing0.00190.411730.0006
class_abstraction
Instantiating content class attribute0.00000.004280.0000
General
dbfile0.00120.2685220.0001
String conversion0.00000.002640.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
5content/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
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs