wildcards on eZ Find

Author Message

Lukasz Piech

Wednesday 24 October 2007 1:25:07 am

Hi

Can me stupid but i cannot figure it out - how to use wildcards in eZ Find, i.e when i want to search for my surname i now have to search for Piech but i would like to search for Piec* or *iech or whatever

Is this possible?

Lukasz

Paul Borgermans

Wednesday 24 October 2007 1:57:30 am

Hi Lukasz

This is not yet possible. In a future release, we will enable the "standard" request handler from the Solr backend, so full boolean, wildcard and fuzzy searches will be possible then.

Paul

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

Lukasz Piech

Wednesday 24 October 2007 9:39:07 am

thanks.
Could you therefore suggest another solution for me? I am about to design a Knowedge Base system in existing eZ intalation. To do that i will create content classes:
* Solution
* How to article
* Patch

etc, each with Facts, Symptoms, Goals, Fixes, Notes, all searchable.
I would also like (buut not necessarily) to implement a search logics and weighting (symptoms more important than notes etc).

To do that I would need a good search engine with
* boolean
*wildcards
* business logic described above

is there a search engine for ez that could do that?

thanks

Kåre Køhler Høvik

Thursday 25 October 2007 1:04:29 am

Hi

If you'd like to see new functionality included in eZ Find, please take a look here : http://ez.no/ezfind/contributing , and subscribe to our mailing list : http://ez.no/ezfind/mailing_lists

We may also develop this feature for you through our professional services. If that's interesting, please contact us here : http://ez.no/company/contact

Kåre Høvik

Fredrik Ardmar

Saturday 19 January 2008 9:04:54 pm

Hi

You might also want to try to use the q.alt parameter instead of the normal q parameter.
That allows you to go around the limitations to the dismax handler and access for example wildcard searches.You can also get fuzzy search by using "~". But be a bit careful cause using .alt might also affect other parts of the search query. For example you wont have highlighted results. But in general it should work.

Now the search looks like this is ezsolr.php:

'q' =>$searchText,

Try to change this to for example

'q.alt' =>$searchText.'*'

Not sure if its the solution your looking for but might work until the standard request handler is available.

http://www.areadigital.org

Custom google maps with eZ Publish

http://www.meresverige.dk
http://dsbfirst.meresverige.dk

Paul Borgermans

Sunday 20 January 2008 10:41:04 am

About the <b>q.alt</b> parameter:

This is mainly meant for queries where the filters (with sorting parameters) are used, and then it is most useful for using the facet parameters.

Indeed, highlighting won't work as this takes the keywords specified in the <b>q</b> parameter

Cheers
Paul

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

Fredrik Ardmar

Sunday 20 January 2008 5:05:36 pm

Hi Paul

Do agree this is not a pretty fix. You have any better, easier solution if one needs to have a simple wildcard search with the dismax handler? If I can get the highlighting to work it would be even better:)

F

http://www.areadigital.org

Custom google maps with eZ Publish

http://www.meresverige.dk
http://dsbfirst.meresverige.dk

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