>- see footer for list info -< a bit more digging later, I was hoping that I could expose some methods via the cf-factory verityService. Alas, no - there doesn't appear to be anything useful there.
It looks like I'm gonna have to keep with what I've got. It works, but it's about as purty as a mexican wrestler in a beauty pageant. /restrained gnashing of teeth. On 8/14/07, Rich Wild <[EMAIL PROTECTED]> wrote: > > No, it's not anymore intensive than your standard autosuggest, expecially > if you start using caching, both on the client and on the server with the > most popular keyword searches. > > Reason being that I'm compiling the keywords sql table from the collection > only when the collection is updated either on a scheduled update or when > content in the admin is manually updated. Keywords aren't compiled on demand > - that *would* be too intensive. > > I don't want a generic dictionary as people will be searching for specific > terms relating to the subject of the site, so I can present them with > "hydrotherapy" or "hydrant" (for example) when they type in "hyd" etc. > > So therefore, on collection update, run the didump to get the keywords > that exist in the collection, filter them against a pre-defined set of noise > words and a few other filters and then chuck em all in the keywords table. > > When someone starts typing, the autocomplete fetches words after a minimum > 3 chars so that it can suggest items that they're looking for and prevent > them from having to continue typing. The normal cfsearch is then run against > those keywords and normal verity results presented. > > But what I'm looking for is a more efficient way of running that keyword > dataset compilation. I'm not a big fan of this cfexecute lark. I want to > interrogate Verity via methods etc. > > Can it be done? > > On 8/14/07, Snake <[EMAIL PROTECTED]> wrote: > > > > >- see footer for list info -< > > Rich, > > > > If someone starts typing a word, you want to present them optional words > > that start with those letters from a generic auto complete dictionary. > > Do > > you really need to only give them words that actually exist in the > > collection, that seems a bit too intensive. > > If you did want to do that then I would say you need to compile your own > > indexed dictionary of words rather than trying to do it the way your > > doing > > it, and that would probably be better done in the database. > > > > Russ > > > > > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto: [EMAIL PROTECTED] On Behalf Of Rich Wild > > Sent: 14 August 2007 12:02 > > To: Coldfusion Development > > Subject: Re: [CF-Dev] verity keywords > > > > >- see footer for list info -< > > because, old pal Snakey, cfsearch gives me the results of those > > keywords, > > not the keywords in the collection itself. > > > > i.e. if I index a pdf called "Snakes in 17th Century Berkshire" and that > > pdf > > contains the word 'amorphous', doing a cfsearch on the word 'amorphous' > > will > > result in "Snakes in 17th Century Berkshire" > > > > But how do I tell the user that the word 'amorphous' is actually > > contained > > within that collection in the first place? The only way I can see of > > doing > > is the method presented below, but I was kinda hoping in this day and > > age of > > java CF and all that of being able to interrogate it thus, rather than > > the > > antiquated cfexecute method. > > > > I am actually using cfsearch once I have presented the user with > > guidance on > > what words are contained within that cfsearch. > > > > > > > > On 8/14/07, Snake <[EMAIL PROTECTED]> wrote: > > > > > > >- see footer for list info -< > > > Erm, why can't you just use cfsearch ? > > > > > > > > > Russ > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of Rich Wild > > > Sent: 14 August 2007 09:49 > > > To: Coldfusion Development > > > Subject: [CF-Dev] verity keywords > > > > > > >- see footer for list info -< > > > mornin. > > > > > > I'm doing an ajax autocompleter on a site, and I'm using keywords from > > > a verity collection to autosuggest words that the user may be > > > interested in when they type in the box. The only way I could find of > > > actually getting the keywords out of a verity collection was to run > > > cfexecute on didump on the specific collection's parts (and since > > > they're renamed after every purge/update I had to cfdirectory the > > > collection's parts dir to find all the part filenames) and then parse > > > the raw text results into a format that I can then populate a keywords > > > > > sql table with. > > > > > > The long and the short of it is, is there a quicker/easier way of > > > doing interrogating verity to get those keywords? > > > > > > virtual bacon buttie / egg mcmuffin / piece of toast / glass of orange > > > > > juice (depending on taste or ethical/religious/medical preferences) to > > > anyone that can help. > > > > > > fanks. > > > _______________________________________________ > > > > > > For details on ALL mailing lists and for joining or leaving lists, go > > > to http://list.cfdeveloper.co.uk/mailman/listinfo > > > > > > -- > > > CFDeveloper Sponsors:- > > > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > > > >- Lists hosted by www.Gradwell.com -< > > > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your > > > >help -< > > > > > > > > > _______________________________________________ > > > > > > For details on ALL mailing lists and for joining or leaving lists, go > > > to http://list.cfdeveloper.co.uk/mailman/listinfo > > > > > > -- > > > CFDeveloper Sponsors:- > > > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > > > >- Lists hosted by www.Gradwell.com -< > > > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your > > > >help > > > -< > > > > > _______________________________________________ > > > > For details on ALL mailing lists and for joining or leaving lists, go to > > http://list.cfdeveloper.co.uk/mailman/listinfo > > > > -- > > CFDeveloper Sponsors:- > > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > > >- Lists hosted by www.Gradwell.com -< > > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help > > > > >-< > > > > > > _______________________________________________ > > > > For details on ALL mailing lists and for joining or leaving lists, go to > > http://list.cfdeveloper.co.uk/mailman/listinfo > > > > -- > > CFDeveloper Sponsors:- > > >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< > > >- Lists hosted by www.Gradwell.com -< > > >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help > > -< > > > > _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
