Re: Solr Schema for same field names within different input entities

2016-06-10 Thread Aniruddh Sharma
#x27;s no good automated ways to do this that I > know of as each app has its own set of peculiarities. > > Best, > Erick > > On Wed, Jun 8, 2016 at 2:28 PM, Aniruddh Sharma > wrote: > > Hi Eric > > > > Thanks for prompt response. The reason for not flattening in

Re: Solr Schema for same field names within different input entities

2016-06-08 Thread Aniruddh Sharma
ress > prev_temp=X AND prev_humidity=Y > because they'd both be in a single MV field called "temp" > and "humidity" > so querying > temp=X and humidity=Y could match > the previous day's temp and the next day's humidity. > > Best, > Erick &g

Re: Solr Schema for same field names within different input entities

2016-06-08 Thread Aniruddh Sharma
fields you may have like zipcode/city/country etc). Put day="next" or > day="previous" and during query use fq (filter query) to have > fq=day:previous or fq=day:next. > > Thanks, > Susheel > > On Wed, Jun 8, 2016 at 2:46 PM, Aniruddh Sharma > wrote: &g

Solr Schema for same field names within different input entities

2016-06-08 Thread Aniruddh Sharma
Hi Request help I have following XML data to start with 13 50 15 60 Please notice it has "previousDay" and "nextDay" and both of them contains details of same field "temperature" and "humidity" What is best way to create schema for it , where I coul

Nested vs Flattened Indexes

2016-06-08 Thread Aniruddh Sharma
Hi I am new to use Solr. I am running Solr 4.10.3 on CDH 5.5. My use case is , I have real time data ingestion in Hadoop on which I want to implement search. My input data format is XML and it has nested child nodes. So my question is about schema creation for solr. Technically I notice in JSO

Use case Nested data v/s flattened data

2016-06-08 Thread Aniruddh Sharma
Hi I am new to use Solr. I am running Solr 4.10.3 on CDH 5.5. My use case is , I have real time data ingestion in Hadoop on which I want to implement search. My input data format is XML and it has nested child nodes. So my question is about schema creation for solr. Technically I notice in JSO

Functionality of post.jar

2015-08-06 Thread Aniruddh Sharma
Hi, I have a case where I have a csv file on my Unix file system and not in Hadoop file system. For example I have abc.xml in /home/cloudera/abc.xml on my Cloudera VMware. Now in Hadoop I go and I create a collection named test10 according to schema of abc.xml and using post.jar I post the file