lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akanksha <cs.akankshaj...@gmail.com>
Subject Lucene Query parser term Length
Date Mon, 20 Jan 2020 12:55:23 GMT
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 some can help me with this. I  am stuck with
this for a very long time.

Do let me know if you have not understood my query.

For reference, please check QueryBuilder.java class which has method
createFieldQuery(....)

Regards
Akanksha Jain

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message