Dear Solr gurus,
I'm having hard time using block-join queries on nested documents with
multi-select facets. We currently index products with variations as
nested-documents as the following:
Product-1: t-shirt => brand:Nike doc_type:0 ...
- SKU-A => size:S color:blue doc_type:1
Thank you for your answer but I'm not sure I've understood: document.type
is not in the same core as annotations, how can I facet on that field?
Il giorno gio 26 mag 2016 alle ore 14:06 Upayavira ha
scritto:
>
>
> On Thu, 26 May 2016, at 01:02 PM, Zaccheo Bagnati wrote:
> > Hi
On Thu, 26 May 2016, at 01:02 PM, Zaccheo Bagnati wrote:
> Hi all,
> I have a SOLR core containing documents:
> document (id, type, text)
> and a core containing annotations (each document has 0 or more
> annotations):
> annotation (id, document_id, user, text)
>
> I can filter annotations on
Hi all,
I have a SOLR core containing documents:
document (id, type, text)
and a core containing annotations (each document has 0 or more annotations):
annotation (id, document_id, user, text)
I can filter annotations on document fields using JoinQueryParser but how
can I create a faceting?
Hello Troy,
What a challenge!!
On Thu, Oct 1, 2015 at 3:42 PM, Troy Edwards
wrote:
>
> 2) It appears that I cannot have fromIndex=Contracts because it is very
> large and has to be sharded. Per my understanding SolrCloud join does not
> support multiple shards
>
..
1. i'd say it's challenge.
2. can't you do the opposite filter active contracts, join them back to
items, and facet then?
q=(Description:colgate OR Categories:colgate OR
Sellers:colgate)={!join from=ItemId to=ItemId
fromIndex=Contracts)Active:true=SellersString
3. note: there is {!terms} QParser
I had missed a field in ContractItem index (ClientId)
*ContractItem*
ContractItemId - string
ItemId - string
ClientId - string
ContractCode - string (facet and filter on this)
Priority - integer (order by priority descending)
Active - boolean (filter on this)
2) It appears that I cannot have
I am working with the following indices
*Item*
ItemId - string
Description - text (query on this)
Categories - Multivalued text (query on this)
Sellers - Multivalued text (query on this)
SellersString - Multivalued string (Need to facet and filter on this)
*ContractItem*
ContractItemId -
and 42 are sizes.
I thought that you cracks might have an idea on how to continue from there.
Best,
Tobias
--
View this message in context:
http://lucene.472066.n3.nabble.com/Join-and-faceting-by-children-s-attributes-tp3512629p3512629.html
Sent from the Solr - User mailing list archive