[
https://issues.apache.org/jira/browse/LUCENE-9153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17021022#comment-17021022
]
Akanksha Jain commented on LUCENE-9153:
---------------------------------------
[~romseygeek]
Thank you for your insight. By implementing a custom analyzer and tokenizer, I
am able to solve the issue.
Thank you once again.
> 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: [email protected]
For additional commands, e-mail: [email protected]