Additional field in facet result

2015-11-20 Thread Florin Mandoc
Hi, I have a index that contains products and tags as nested children, like below: { "id":"413863", "ProductID":"413863", "type":"product", "MainProductID":"", "SKU":"8D68595B", "Name":"mere", "alltext":["mere", "", "",

Re: Sorting parent documents based on a field from children

2015-09-17 Thread Florin Mandoc
Great, thank you very much for your help. On 16.09.2015 13:07, Mikhail Khludnev wrote: On Wed, Sep 16, 2015 at 12:15 PM, Florin Mandoc wrote: Is possible to to also add "name_s:expensive" search term in q? I know i can add it to fq but I will have no score boost. Sure you can.

Re: Sorting parent documents based on a field from children

2015-09-16 Thread Florin Mandoc
"facet_module":{ "time":0.0}, "mlt":{ "time":0.0}, "highlight":{ "time":0.0}, "stats":{ "time":0.0}, "expand":{ "time&quo

Re: Sorting parent documents based on a field from children

2015-09-01 Thread Florin Mandoc
is a good habit of debugQuery=true, which allows to reconcile query interpretation. On Mon, Aug 31, 2015 at 2:40 PM, Florin Mandoc wrote: Hi, I am trying to model am index from a relational database and i have 3 main entity types: products, buyers and sellers. I am using nested documents for s

Sorting parent documents based on a field from children

2015-08-31 Thread Florin Mandoc
Hi, I am trying to model am index from a relational database and i have 3 main entity types: products, buyers and sellers. I am using nested documents for sellers and buyers, as i have many sellers and many buyers for one product: { "Active" : "true", "CategoryID" : 59, "CategoryName" : "