Hi Michael, what are you were looking for ,it can be achieved in Solr but not directly. We will have to write a custom query parser which will use Lucene Query parser. In the parser you will have to use the span queries. SpanQuery1- your term1, term2, .....termN and the range like standard its 50 and the boolean ordered true or false. SpanQuery2- your sentence starting and sentence ending indications. like you keep #sb#,#se# and your 2nd spanQuery will be #se# #sb# length -1 and order-TRue final SPanQuery will be- spanQUery1-spanQuery2
In this way you would be able to achieve what you want.It works and i have tried it. Thanks & Regard Naveen India -- View this message in context: http://lucene.472066.n3.nabble.com/Sentence-level-searching-tp474384p4348874.html Sent from the Solr - User mailing list archive at Nabble.com.