&fq={!terms}... in theory ought to do the trick pretty performantly.   How's 
that work for you?

    Erik


> On Nov 17, 2014, at 08:33, deviantcode <hnoclel...@gmail.com> wrote:
> 
> Unfortunately no, the ids come back from an external service (spark) that
> performs complex aspects of the user query which as far is i can tell,
> cannot be easily done in solr.
> For example assuming, from the "family" schema described previously, the
> children docs record, "weight" "height", "year" and "month" fields.
> The queries to be performed are like the following:
>    "find all children who have been gaining weight over the last 6 months"
> ,
>    "find children who have recorded a 10% increase in weight over any two
> consecutive years",
>    "find children of age X in the top 25% percentile of height from a
> particular school"
> 
> The ids that come back match such queries. Is there a way to do these in
> solr?
> 
> Thanks
> 
> 
> On Mon, Nov 17, 2014 at 12:09 PM, Alexandre Rafalovitch [via Lucene] <
> ml-node+s472066n416945...@n3.nabble.com> wrote:
> 
>> On 17 November 2014 04:47, deviantcode <[hidden email]
>> <http://user/SendEmail.jtp?type=node&node=4169455&i=0>> wrote:
>>> Find all parent-ids from the list of 40,000 ids, (subset of all the
>> parent
>>> ids)
>> 
>> And how do you calculate that subset? Is that absolutely not something
>> that translates into the rules that can be codified in Solr?
>> 
>> Just passing 40,000 ids into Solr is going to be performance killer
>> all by itself. How often that subset changes? If not often, there
>> might be other ways to create a semi-permanent marker of some sort.
>> 
>> Regards,
>>    Alex.
>> 
>> 
>> Personal: http://www.outerthoughts.com/ and @arafalov
>> Solr resources and newsletter: http://www.solr-start.com/ and @solrstart
>> Solr popularizers community: https://www.linkedin.com/groups?gid=6713853
>> 
>> 
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>> 
>> http://lucene.472066.n3.nabble.com/Restrict-search-to-subset-a-list-of-aprrox-40-000-ids-from-an-external-service-of-corpus-tp4169210p4169455.html
>> To unsubscribe from Restrict search to subset (a list of aprrox 40,000
>> ids from an external service) of corpus, click here
>> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4169210&code=aG5vY2xlbGFuZEBnbWFpbC5jb218NDE2OTIxMHwxNDYwMjM1ODg1>
>> .
>> NAML
>> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> 
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Restrict-search-to-subset-a-list-of-aprrox-40-000-ids-from-an-external-service-of-corpus-tp4169210p4169466.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to