Re: Re: solr _route_ key now working

2019-03-26 Thread Jay Potharaju
I was reading the debug info incorrectly it is working as expected ...thanks for the help. Thanks Jay Potharaju On Tue, Mar 26, 2019 at 10:58 PM Jay Potharaju wrote: > Edwin, I tried escaping the special characters but it does not seems to > work. I am using 7.7 > Thanks Jeremy for the example

Re: Re: solr _route_ key now working

2019-03-26 Thread Jay Potharaju
Edwin, I tried escaping the special characters but it does not seems to work. I am using 7.7 Thanks Jeremy for the example. id:123:456!789 I do see that the data for the same key is co-located in the same shard by running. I can see that all the data is co-located in the same shard when querying th

Re: Re: solr _route_ key now working

2019-03-26 Thread Branham, Jeremy (Experis)
Jay – I’m not familiar with the document ID format you mention [having a “:” in the prefix], but it looks similar to the composite ID routing I’m using. Document Id format: “a/1!id” Then I can use a _route_ value of “a/1!” when querying. Example Doc IDs: a/1!768456 a/1!563575 b/1!456234 b/1!2456

Re: solr _route_ key now working

2019-03-25 Thread Zheng Lin Edwin Yeo
Hi, Sorry, didn't see that you have an exclamation mark in your query as well. You will need to escape the exclamation mark as well. So you can try it with the query _route_=“123\:456\!” You can refer to the message in the link on which special characters requires escaping. https://stackoverflow.

Re: solr _route_ key now working

2019-03-25 Thread Jay Potharaju
That did not work 😕. Any other suggestions My id is 123:456!678 Tried running query as _route_=“123\:456!” But didn’t give expected results Thanks Jay > On Mar 24, 2019, at 8:30 PM, Zheng Lin Edwin Yeo wrote: > > Hi, > > The character ":" is a special character, so it requires escaping during

Re: solr _route_ key now working

2019-03-24 Thread Zheng Lin Edwin Yeo
Hi, The character ":" is a special character, so it requires escaping during the search. You can try to search with query _route_="a\:b!". Regards, Edwin On Mon, 25 Mar 2019 at 07:59, Jay Potharaju wrote: > Hi, > My document id has a format of a:b!c, when I query _route_="a:b!" it does > not r

solr _route_ key now working

2019-03-24 Thread Jay Potharaju
Hi, My document id has a format of a:b!c, when I query _route_="a:b!" it does not return any values. Any suggestions? Thanks Jay Potharaju