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

Akanksha Jain commented on LUCENE-9153:
---------------------------------------

Hello [~romseygeek] & 
[romseygeek|https://github.com/apache/lucene-solr/commits?author=romseygeek] 

Can these changes be backported to Lucene 4.7.1?

It will make our code robust and maintainable.

 

> Lucene Query parser append space if query length is greater than 255
> --------------------------------------------------------------------
>
>                 Key: LUCENE-9153
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9153
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Akanksha Jain
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Hello Everyone
>  
> I am working with Lucene 4.7.1
> When parsing query using Lucene query parser. If query length is greater than 
> 255 bytes, it returns query with space appended after every 255 bytes, which 
> is causing further issues in my project.
>  
> Can you please let me know why the term (parsed query contain 
> Arraylist<Term>) max length is 255 bytes. Why space is appended in between 
> the query?
>  
> I will really appreciate it if someone can help me with this.
> Do let me know if you have not understood my query and require some reference
>  
> For analysis,  Please check QueryBuilder.java class which has method 
> createFieldQuery(....) 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to