Re: Embedded documents in solr

2017-07-18 Thread Susheel Kumar
How many availabilities.day can be there for a single document? Is it for a week/month/year? On Tue, Jul 18, 2017 at 4:21 AM, Swapnil Pande wrote: > Hi , > I am new to solr. I am facing a problem for embedding documents to solr. I > dont want to use solr joins. > The document is similar to > {"n

Embedded documents in solr

2017-07-18 Thread Swapnil Pande
Hi , I am new to solr. I am facing a problem for embedding documents to solr. I dont want to use solr joins. The document is similar to {"name":string, availabilities:[{"day":Date,"status":0}..{}]} I want to index the array and search with queries like 1) where name = 'xyz' and availabilities.

RE: DIH's TikaEntityProcessor's handling of embedded documents

2015-03-04 Thread Allison, Timothy B.
Got it. Thank you. SOLR-7189. -Original Message- From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Sent: Wednesday, March 04, 2015 12:31 PM To: solr-user Subject: Re: DIH's TikaEntityProcessor's handling of embedded documents DIH does not get as much attention as o

Re: DIH's TikaEntityProcessor's handling of embedded documents

2015-03-04 Thread Alexandre Rafalovitch
xt to have Tika's > AutoDetectParser (or any parser) parse documents recursively. That is, if > you have a zip file or any other container document, DIH's > TikaEntityProcessor is not configured to handle/parse/extract contents from > the embedded documents. > > Is th

DIH's TikaEntityProcessor's handling of embedded documents

2015-03-04 Thread Allison, Timothy B.
DIH's TikaEntityProcessor is not configured to handle/parse/extract contents from the embedded documents. Is this the intended behavior? Is this what users expect? The change is trivial, and it probably should be configurable whether or not to have DIH parse recursively. Many apologies if

Re: embedded documents

2014-08-26 Thread Michael Pitsounis
hello, I posted the source code and quick installation on http://www.solrfromscratch.com/2014/08/20/embedded-documents-in-solr/ The parser supports deeply nested maps/arrays. Tell me if you have any problems with the download. M. On Mon, Aug 25, 2014 at 10:29 PM, Jack Krupansky wrote

Re: embedded documents

2014-08-25 Thread Jack Krupansky
solr-user@lucene.apache.org Subject: Re: embedded documents The simplest use case is to dump the entire json using split=/&f=/** . i am planning to add an alias for the same (SOLR-6343) . The nested docs is missing now and we will need to add it. A ticket needs to be opened On Mon, Aug 25, 2014 at

Re: embedded documents

2014-08-25 Thread Michael Pitsounis
Hi Jack, I uploaded the code for a friend here http://www.solrfromscratch.com/2014/08/20/embedded-documents-in-solr/ [it is not the latest code, i will update it in a couple of hours ] Multilevel nesting is supported, in case of arrays e.g personalities_json:[ {id:5}, {id:3

Re: embedded documents

2014-08-25 Thread Noble Paul
gt; > IMHO, we need to be trying to make Solr more automatic and more > approachable, not an even more complicated "toolkit". > > -- Jack Krupansky > > -Original Message- From: Erik Hatcher > Sent: Monday, August 25, 2014 9:32 AM > > To: solr-user@luc

Re: embedded documents

2014-08-25 Thread Erik Hatcher
gt; > IMHO, we need to be trying to make Solr more automatic and more approachable, > not an even more complicated "toolkit". > > -- Jack Krupansky > > -Original Message- From: Erik Hatcher > Sent: Monday, August 25, 2014 9:32 AM > To: solr-user@lucene.apac

Re: embedded documents

2014-08-25 Thread Jack Krupansky
ng to make Solr more automatic and more approachable, not an even more complicated "toolkit". -- Jack Krupansky -Original Message- From: Erik Hatcher Sent: Monday, August 25, 2014 9:32 AM To: solr-user@lucene.apache.org Subject: Re: embedded documents Jack et al - there’s now

Re: embedded documents

2014-08-25 Thread Erik Hatcher
ent: Sunday, August 24, 2014 7:30 PM > To: solr-user@lucene.apache.org > Subject: Re: embedded documents > > See my Jira. It supports it via json.fsuffix=_json&wt=json > > http://mail-archives.apache.org/mod_mbox/lucene-dev/201304.mbox/%3CJIRA.12641293.1365394604231.125944.1365397

Re: embedded documents

2014-08-25 Thread Jack Krupansky
ky -Original Message- From: Bill Bell Sent: Sunday, August 24, 2014 7:30 PM To: solr-user@lucene.apache.org Subject: Re: embedded documents See my Jira. It supports it via json.fsuffix=_json&wt=json http://mail-archives.apache.org/mod_mbox/lucene-dev/201304.mbox/%3CJIRA.12641293.13653

Re: embedded documents

2014-08-24 Thread Bill Bell
though combinations of > arrays and maps would be problematic. > > -- Jack Krupansky > > -Original Message- From: Michael Pitsounis > Sent: Wednesday, August 20, 2014 7:14 PM > To: solr-user@lucene.apache.org > Subject: embedded documents > > Hello everybody, &

Re: embedded documents

2014-08-24 Thread Jack Krupansky
problematic. -- Jack Krupansky -Original Message- From: Michael Pitsounis Sent: Wednesday, August 20, 2014 7:14 PM To: solr-user@lucene.apache.org Subject: embedded documents Hello everybody, I had a requirement to store complicated json documents in solr. i have modified the

embedded documents

2014-08-20 Thread Michael Pitsounis
Hello everybody, I had a requirement to store complicated json documents in solr. i have modified the JsonLoader to accept complicated json documents with arrays/objects as values. It stores the object/array and then flatten it and indexes the fields. e.g basic example document { "