• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Batch fetching / raw rows / SQL / full text search
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Batch fetching / raw rows / SQL / full text search


  • Subject: Re: Batch fetching / raw rows / SQL / full text search
  • From: Q <email@hidden>
  • Date: Wed, 10 Feb 2010 09:39:11 +1000

On 10/02/2010, at 9:18 AM, Mark Wardle wrote:

> Hi.
>
> I'm evaluating lucene and postgresql's own full text search with a few
> benchmarks.
>
> I'm now trying to get the results (sometimes lots) as an array of
> enterprise objects.
>
> I can use EOUtilities.objectForRawRaw but it looks like there is a
> trip to the database for each EO. I haven't benchmarked this bit of
> the process yet, but sometimes I may get >500 results.
>
> is there a way of efficiently doing this for an array of, say, primary
> keys, that I can return from the full-text engine?
>

Wonder's ERXEOControlUtilities has a few methods that might be useful to you:

faultsForRawRowsFromEntity
faultsForGlobalIDs
objectsForFaults
objectsForGlobalIDs

--
Seeya...Q

Quinton Dolan - email@hidden
Gold Coast, QLD, Australia (GMT+10)




 _______________________________________________
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

  • Follow-Ups:
    • Re: Batch fetching / raw rows / SQL / full text search
      • From: Mike Schrag <email@hidden>
References: 
 >Batch fetching / raw rows / SQL / full text search (From: Mark Wardle <email@hidden>)

  • Prev by Date: Batch fetching / raw rows / SQL / full text search
  • Next by Date: Re: Batch fetching / raw rows / SQL / full text search
  • Previous by thread: Batch fetching / raw rows / SQL / full text search
  • Next by thread: Re: Batch fetching / raw rows / SQL / full text search
  • Index(es):
    • Date
    • Thread