Hi, 

I would like to help me for certain problem. 

My problem is : 

I have documents and I do group by on certain field (e.g. Field1).  I want
to get documents with Field2 is [3 or 9 or 12] if exist, otherwise get any
document. please see the below example. 


D1 :            ----------- 
Field1 : 1                  - 
Field2 : 3                 --------->  D1 (group by on field1 and field2 is
3) 
                              - 
D2:             ----------- 
Field1 : 1 
Field2 : 4 


D3:            ----------- 
Field1 : 2               - 
Field2 : 5                --------------> any document D3 or D4 
                            - 
D4:            ----------- 
Field1 : 2 
Field2 : 7 

I want to get the results like below 
D1(Mandatory) 
(D3 OR D4)



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-Condition-Before-Group-By-tp4005179.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to