Re: How to import this Json-line by DIH?

2013-02-05 Thread Sagar Joshi1304
Hello,

Have you found any way to achieve this?
I am also want to do the same.

Thanks in Advance,
Sagar



--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-import-this-Json-line-by-DIH-tp3990544p4038535.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Datefaceting on multiple value in solr

2012-10-31 Thread Sagar Joshi1304
Thanks Chris,

seems it is working fine, below is the query

http://localhost:8993/solr/select?q=*:*&fq=(!tag=test)name:test*&fq=(!tag=test1)name:test1&fq=(!tag=test3)name:test3&&facet=true&facet.range={!key=test
ex=test1,test3}Admission_Date&facet.range={!key=test1
ex=test,test3}Admission_Date&facet.range={!key=test3
ex=test,test1}Admission_Date&*
facet.range.start=2012-06-01T12:00:00Z&facet.range.end=2012-06-30T17:00:00Z&facet.range.gap=%2B1DAY&rows=0

please correct me if query is wrong, but if i have suppose 100 names then i
have to add fq 100 times, and in each fq i have to add exclusion of other
99; is there any other parameters or simpler way? 

sorry, to bother you more.





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Datefaceting-on-multiple-value-in-solr-tp4014021p4017281.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Datefaceting on multiple value in solr

2012-10-17 Thread Sagar Joshi1304
Thanks Chris,

but i want something like below,

docid:1  name=test date=oct12 docid:7  name=test1 date=oct13
docid:13  name=test3 date=oct12
docid:2 name=test date=oct12  docid:8  name=test1 date=oct13 
docid:14  name=test3 date=oct13 
docid:3 name=test date=oct13  docid:9  name=test1 date=oct14 
docid:15  name=test3 date=oct14
docid:4 name=test date=oct14  docid:10  name=test1 date=oct15   
docid:16  name=test3 date=oct15
docid:5 name=test date=oct14  docid:11  name=test1 date=oct16   
docid:17  name=test3 date=oct16
docid:6 name=test date=oct14  docid:12  name=test1 date=oct16   
docid:18  name=test1 date=oct16

now i want something like below in one request

   test
  2
  1
  3
  0
  0 
   
   test1
  0
  2
  1
  1
  2 

test3
  1
  1
  1
  1
  2 

currently i have to do 3 request for all three values of name, with passing
"name" as fq parameter and given facet date range.

Thanks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Datefaceting-on-multiple-value-in-solr-tp4014021p4014196.html
Sent from the Solr - User mailing list archive at Nabble.com.


Datefaceting on multiple value in solr

2012-10-16 Thread Sagar Joshi1304
Hello All,

In solr, I have two fields one is datetime [Admission_Date] and other
string[Name]. I want to do datefaceting on multiple values in one solr
query.

Suppose I have 3 records. name="test" ,"test1", "test3".

I want to do data-faceting on all three values in one solr query.

Currently I am using below link: 
http://wiki.apache.org/solr/SimpleFacetParameters#Date_Faceting:_per_day_for_the_past_5_days

  

In this I can provide date-faceting on one value in one query.

but is it possible to provide on multiple values in one query?

Thanks in advance,
Sagar Joshi




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Datefaceting-on-multiple-value-in-solr-tp4014021.html
Sent from the Solr - User mailing list archive at Nabble.com.