Advanced Search development - 'homemade' fuzzy logic...

Advanced Search development - 'homemade' fuzzy logic...

Monday 09 August 2004 1:07:01 am - 22 replies

Modified on Monday 09 August 2004 1:07:20 am by steve walker

Author Message

Paul Borgermans

Friday 03 September 2004 9:54:17 am

you're welcome :-)

good luck on your further journey with ez publish!

-paul

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

steve walker

Tuesday 07 September 2004 1:26:50 am

Hi there,

Have realised there is one issue stopping this working as it should - I think (hope) its only a minor tweak.

The problem is that the fuzzy values should always have the non-fuzzy values in their array as well. To try to explain, if I have:

colour = G
fuzzy colours = F H

size = 4
fuzzy size = 3 5

The fuzzy fetch needs to be able to look for the colour 'G' as well as size '3' or '5'. In the current code the fuzzy fetch only looks at stones that have values totally different (but one step away) - to cure this the fuzzy values would need to have the exact ones in there, so the example would change to:

colour = G
fuzzy colours = F G H

size = 4
fuzzy size = 3 4 5

The problem now is duplicates found in the two fetches.

Is it possible to take two fetches and make a comparison such that the second fetch removes any duplicates which it finds through checking the first fetch?

Many thanks, Steve.

http://www.oneworldmarket.co.uk

You must be logged in to post messages in this topic!

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