[ 
https://issues.apache.org/jira/browse/SOLR-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651720#comment-17651720
 ] 

Mikhail Khludnev commented on SOLR-788:
---------------------------------------

Meanwhile I feel lack of participation and haven't noticed any prohibition for 
posting ChatGPT answers.

{quote}One option for transferring a Lucene Boolean Query from a shard node to 
a coordinator node in the context of the MoreLikeThis component in Apache Solr 
would be to use a serialization format that can represent the structure and 
content of the query. There are several options for serializing a Lucene 
Boolean Query, including:

 - JSON: The Java API for JSON Processing (JSR 353) provides a standard API for 
parsing and generating JSON in Java. You can use this API to serialize a Lucene 
Boolean Query to a JSON object, which can then be transmitted to the 
coordinator node and deserialized on the other end.

 - XML: You can use a library like JAXB (Java Architecture for XML Binding) to 
serialize a Lucene Boolean Query to an XML document, which can then be 
transmitted to the coordinator node and deserialized on the other end.

Custom binary format: You could also develop a custom binary format for 
serializing a Lucene Boolean Query, which could potentially be more efficient 
than a text-based format like JSON or XML.

Once the query has been serialized and transmitted to the coordinator node, it 
can be deserialized and used to execute the search request against the 
appropriate shards.

It's worth noting that Lucene itself does not provide a built-in mechanism for 
serializing queries, so you will need to use an external library or develop 
your own custom solution.{quote} 

It doesn't sound a way to go for me. 

> MoreLikeThis should support distributed search
> ----------------------------------------------
>
>                 Key: SOLR-788
>                 URL: https://issues.apache.org/jira/browse/SOLR-788
>             Project: Solr
>          Issue Type: Improvement
>          Components: MoreLikeThis
>            Reporter: Grant Ingersoll
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 4.1, 6.0
>
>         Attachments: AlternateDistributedMLT.patch, MLT.patch, MLT.patch, 
> MoreLikeThisComponentTest.patch, SOLR-788.patch, SOLR-788.patch, 
> SolrMoreLikeThisPatch.txt, 
> mlt=true_component_is_vulnerable_to_coolon_delimited_token.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The MoreLikeThis component should support distributed processing.
> See SOLR-303.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to