Re: Index filename while indexing JSON file

2018-05-23 Thread Shawn Heisey
On 5/18/2018 1:47 PM, S.Ashwath wrote: > I have 2 directories: 1 with txt files and the other with corresponding > JSON (metadata) files (around 9 of each). There is one JSON file for > each CSV file, and they share the same name (they don't share any other > fields). > > The txt files just

Re: Index filename while indexing JSON file

2018-05-22 Thread Bernd Fehling
I don't know if DIH can solve your problem but I would go for a simple self programmed ETL in JAVA and use SolrJ for loading. Best regards, Bernd Am 18.05.2018 um 21:47 schrieb S.Ashwath: Hello, I have 2 directories: 1 with txt files and the other with corresponding JSON (metadata) files

Re: Index filename while indexing JSON file

2018-05-21 Thread S.Ashwath
Thanks Raymond. As I was doing the indexing of other delimited files directly with Solr and the terminal (without a client), I thought it would be possible to index the filename of JSON files this way as well. But like you say, I'm parsing the search results in Python. So I might as well build the

Re: Index filename while indexing JSON file

2018-05-20 Thread Raymond Xie
would you consider to include the filename as another meta data fields for being indexed? I think your downstream python can do that easily. ** *Sincerely yours,* *Raymond* On Fri, May 18, 2018 at 3:47 PM, S.Ashwath wrote:

Index filename while indexing JSON file

2018-05-18 Thread S.Ashwath
Hello, I have 2 directories: 1 with txt files and the other with corresponding JSON (metadata) files (around 9 of each). There is one JSON file for each CSV file, and they share the same name (they don't share any other fields). The txt files just have plain text, I mapped each line to a