Hello,
I can only speculate that some doc ids has a colon in value. In this can
you need to either escape it with backslash or use more explicit syntax
described in Solr Local Params topic.
But I might be wrong. Can you provide a problem query and/or stacktrace?

On Tue, Nov 22, 2022 at 9:09 PM Wu, Hansen [USA] <wu_han...@bah.com.invalid>
wrote:

> Hello Solr folks,
> I have a Web Service app, which uses CloudSolrClient to connect to a solr
> server to query for similar documents against field search in a collection
> through MoreLikeThis function by given docId. The content in the search
> field is copied from original text of a document.
> The Web Service app works fine with most documents. But whenever a
> document contains colon, e.g. "subj:cedation", it throws out exceptions,
> complaining about ":". Have you folks ever seen such problems? Any tips to
> resolve  the issue?
>
> In my dev env, I have a newer version of solr installed, which uses
> HttpSolrClient to do the same query. The problem didn't happen. I was
> wondering whether the issues only happen with old versions of solr or not.
>
> I wish to get ideas from solr community.
> Thanks a lot in advance.
>
> Hansen Wu
> Associate | Lead Data Scientist
> Booz | Allen | Hamilton
>
> Email: wu_han...@bah.com<mailto:wu_han...@bah.com>
>
>
>

-- 
Sincerely yours
Mikhail Khludnev

Reply via email to