hi Stefan > users can send privates messages, the selection of recipients is done via > auto-complete. therefore we need to restrict the possible results based on > the users confirmed contacts - but i have absolutely no idea how to do that > :/ Add all confirmed contacts to the index, and use it like a type of > relation? pass the list of confirmed contacts together with the query?
This does not sound like a search query because: 1. you know the user 2. you know his/her list of confirmed contacts If both statements are true, the list of confirmed contacts should be accessible via JSON-URL call so that you can load it into a autocomplete dropdown. SOLR needs not be involved in this case (but you can of course store the list of confirmed contacts in a multivalued field per user if you need it for other searches or facetting). Cheers, Chantal