Re: How to do parallel indexing on files (not on HDFS)

2018-05-24 Thread Adhyan Arizki
f threads , workers, containers, > >> whatever pop off the queue , process the item (reduce). > >> > >> > >> -- > >> Rahul Singh > >> rahul.si...@anant.us > >> > >> Anant Corporation > >> > >> On May 20, 2018, 7:24 AM -0400, Raymond Xie <xie3208...@gmail.com>, > >> wrote: > >> > >> I know how to do indexing on file system like single file or folder, but > >> how do I do that in a parallel way? The data I need to index is of huge > >> volume and can't be put on HDFS. > >> > >> Thank you > >> > >> ** > >> *Sincerely yours,* > >> > >> > >> *Raymond* > >> > >> > > > -- Best regards, Adhyan Arizki

Re: How to do parallel indexing on files (not on HDFS)

2018-05-24 Thread Adhyan Arizki
index is of huge > > volume and can't be put on HDFS. > > > > Thank you > > > > ** > > *Sincerely yours,* > > > > > > *Raymond* > > > > > -- Best regards, Adhyan Arizki

Re: Match a phrase like "Apple iPhone 6 32GB white" with "iphone 6"

2018-04-09 Thread Adhyan Arizki
You can just use synonyms for that.. rather hackish but it works On Mon, 9 Apr 2018, 05:06 Sami al Subhi, wrote: > I think this filter will output the desired result: > > > > > > > > > > > > > indexing: > "iPhone 6" will be indexed as "iphone 6"

Re: How to create my schema and add document, thank you

2018-04-05 Thread Adhyan Arizki
253D8.OS", "100": "XOSE", "52": "20180320-08:08:35.088", "10241": > "viperooe", "150": "A", "10039": "viperooe", "39": "A", "10438": "RIO.4.5", > "38": "1", "37": "3379122", "372": "D", "660": "102", "44": "2.0", > "10066": "20180320-08:08:35.038", "29": "4", "50": "JPNIK01", "22": "101"} > > You can inspect the json here: https://jsonformatter.org/ > > I need to create index and enable searching on tags: 37, 75 and 10242 > (where available, this sample message doesn't have it) > > My understanding is I need to create the file managed-schema, I added two > fields as below: > > multiValued="true"/> > stored="false" multiValued="true"/> > > Then I go back to Solr Admin, I don't see the two new fields in Schema > section > > Anything I am missing here? and once the two fields are put in the > managed-schema, can I add the json file through upload in Solr Admin? > > Thank you very much. > > > ** > *Sincerely yours,* > > > *Raymond* > -- Best regards, Adhyan Arizki

Re: How do I create a schema file for FIX data in Solr

2018-04-03 Thread Adhyan Arizki
Raymond, Seems you are having issue with the node environment. Likely the path isn't registered correctly judging from the error message. Note though, this is no longer related to Solr issue. On Tue, 3 Apr 2018, 23:00 Raymond Xie, wrote: > Hi Rick, > > Following your

Re: Need help to get started on Solr, searching get nothing. Thank you very much in advance

2018-04-02 Thread Adhyan Arizki
plication/json' -d '{ > >> >"update" : { > >> > "facets": { > >> >"facet.field":"genre" > >> >} > >> > } > >> >}' > >> > > >> ># END_OF_SCRIPT > >> > > >> >Additional fun - > >> > > >> >Add highlighting: > >> >curl http://localhost:8983/solr/films/config/params -H > >> >'Content-type:application/json' -d '{ > >> >"set" : { > >> > "browse": { > >> >"hl":"on", > >> >"hl.fl":"name" > >> >} > >> > } > >> >}' > >> >try http://localhost:8983/solr/films/browse?q=batman now, and you'll > >> >see "batman" highlighted in the results > >> > > >> > > >> > > >> >I got nothing in my search: > >> > > >> > > >> > > >> > > >> >** > >> >*Sincerely yours,* > >> > > >> > > >> >*Raymond* > >> > >> -- > >> Sorry for being brief. Alternate email is rickleir at yahoo dot com > > -- > Sorry for being brief. Alternate email is rickleir at yahoo dot com > -- Best regards, Adhyan Arizki

Re: How do I create a schema file for FIX data in Solr

2018-04-02 Thread Adhyan Arizki
Raymond, May i suggest you to take a look at the examples given in Solr package? Essentially you need to understand which field is to be searchable by the application and what not. These FIX data can be represented i JSON or XML. To parse and upload the data to Solr, you can use different