Re: query the data contain key value

2017-03-15 Thread Andrea Gazzarini
Solr doesn't know about "null" values. Using a schema which declares all those fields (id, eventA, eventB, eventC) and indexing those 2 documents 1,eventA=2,eventC=3 2,eventB=1,eventA=1 You already get a situation "similar" to what you want. I said "Similar" because you won't have any null val

Re: query the data contain key value

2017-03-15 Thread Andrea Gazzarini
Solr doesn't know about "null" values. Using a schema which declares all those fields (id, eventA, eventB, eventC) and indexing those 2 documents 1,eventA=2,eventC=3 2,eventB=1,eventA=1 You already get a situation "similar" to what you want. I said "Similar" because you won't have any null val

query the data contain key value

2017-03-15 Thread tkg_cangkul
Hi, i have data sample to index it into solr. below is the format of my sample data : id,field1,field2 1,eventA=2,eventC=3 2,eventB=1,eventA=1 how can i query or indexing that data format in solr to get the result like this : id,eventA,eventB,eventC 1,2,null,3 2,1,1,null is there any way to