I am facing one weird issue while setting hl.maxAnalyzedChars to -1 to fetch highlight for some random records, for other records its working fine.
Below is my solr query http://localhost:8080/solr/core0/select?q=(text:"new year") AND (id:2343287)&hl=on&hl.fl=text&hl.fragsize=500&hl.maxAnalyzedChars=-1 If i remove hl.maxAnalyzedChars=-1 from above query , or set it to some positive value (higher than text field length) , then it return record with proper highlight. But my text field length is very long, and i want like to limit it, so I also need to set hl.maxAnalyzedChars to -1 . Please help me to solve this. -- View this message in context: http://lucene.472066.n3.nabble.com/Issue-with-getting-highlight-with-hl-maxAnalyzedChars-1-tp4062269.html Sent from the Solr - User mailing list archive at Nabble.com.