Re: Create and Query Multiple Values in an attribute
Re: Create and Query Multiple Values in an attribute
- Subject: Re: Create and Query Multiple Values in an attribute
- From: "Jerry W. Walker" <email@hidden>
- Date: Mon, 12 Mar 2007 06:15:07 -0400
Hi, Ian,
What you're trying to do is much more sophisticated than what is
being done by the code I sent you. I worked on an application a
couple years ago with similar requirements for searching for
pictures. In order to meet those requirements, we integrated Gary
Teter's WireHose frameworks and, using them, created an index of
pictures with keywords for each picture.
http://www.wirehose.com/
Wirehose is offered for free and has some sophisticated searching and
indexing built in that, if you use, could save you a few weeks of
programming. Your end result would probably have a higher quality as
well, since Teter's code has gone through a few generations of
optimization by one of the WO masters.
I hope you've provided some lengthy estimates to your users, because
this is not a quickly solved problem. Searching is an inherently
difficult problem space.
Regards,
Jerry
On Mar 12, 2007, at 4:06 AM, email@hidden wrote:
Hi Jerry,
Thanks very much for your thorough reply. I'm going to have a play
around
and see if I can get it to do something in my app. I gather that
the code
would try queries from more than one field. I was sort of intending
something similar to that, but where a single query is run through a
number of options for each entry. i.e. when you add the entry in
the first
place, you might know that you should enter "hard drive" and "hard
disk"
so that if someone is searching for "hard drive" it would find the
entry
just as if someone had searched for "hard disk" the same entry
would be
retrieved. But this should all happen without the user (who is
doing the
searching) needing to give it a second thought.
Ian.
On Sun, March 11, 2007 12:44 pm, Jerry W. Walker wrote:
Hi, Ian,
If I understand your question correctly, you want to be able to do a
fetch using something like "Get myRecord where searchfield is
'Smith' or
'Smythe', or ...", then you can use an EOOrQualifier.
--
MacMail - the Webmail service especially for Mac users worldwide
http://www.macmail.com
--
__ Jerry W. Walker,
WebObjects Developer/Instructor for High Performance Industrial
Strength Internet Enabled Systems
email@hidden
203 278-4085 office
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden