Hello, Block join works in the single core only. Please check the docs. BJQFacet doesn't support limit and sort.
On Thu, Dec 28, 2017 at 12:39 PM, Kamuela Lau <kamuela....@gmail.com> wrote: > Hi All, > > I am currently trying to figure out a way to apply a parent/child > relationship between two cores to searches. > I thought that BlockJoin Facet could be a good way to do this, but I would > like to know, is it impossible to use limit and sort with BlockJoin Facet? > > Thanks, > Kamu > > > On Tue, Dec 26, 2017 at 2:31 PM, Kamuela Lau <kamuela....@gmail.com> > wrote: > > > Hi, > > > > I am working on applying parent/child types to search using Solr, and > > wanted to inquire about two things. > > > > 1) BlockJoin Facet > > > > Currently, there are two cores. The first core (the item core) has 16 > > million documents, and the second core (the product core) has 3 million > > documents. > > The product core is the parent, and the item core is the child. > > > > To apply this parent/child relationship to searches, I thought that I > > could use BlockJoin Facet, > > but because the number of documents being searched is so large, I am > > worried about the decrease in performance of Solr when using BlockJoin > > Facet. > > > > I thought it may be possible to avoid dips in performance while using > > BlockJoin Facet by using limit and sort, > > however when I tried to look up more information about this, I was unsure > > of if that is possible. > > > > When using BlockJoin Facet, is it not possible to use limit and sort? > > > > 2) JSON Facet API > > > > While I was researching about the above problem, I came across JSON Facet > > API. > > Is it possible to do the same thing as BlockJoin Facet with JSON Facet > API? > > If it is possible, what is the most appropriate way to use each one? > > > > I was unable to find an official document with more detailed information > > about Solr's JSON Facet API, > > so if anyone knows of a relevant resource or reference material, I would > > be grateful if you could share it. > > > > I apologize for the rather open-ended question, but an answer or even a > > point in the right direction (an article > > or resource) would be greatly appreciated. > > > > Thanks, > > Kamu > > > > > > > > > > > -- Sincerely yours Mikhail Khludnev