Re: Sentence level searching

2017-08-03 Thread Naveen33
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

Re: Sentence level searching

2006-11-12 Thread Michael Imbeault
So basically its just as I thought it was, thanks for the help :) I had checked the wiki before asking, but it lacks details and is often vague, or presuppose that you have knowledge about some specific terms without explaining them. Its all clear now, thanks to you ;) Michael Imbeault CHUL Re

Re: Sentence level searching

2006-11-12 Thread Chris Hostetter
: Thanks for the answer Yonik; I forgot about Multivalued fields! I'm not : exactly sure of how to add multiple values to a single field (aside from : fieldcopy). The code I'm thinking of using : If you look at the exampledocs, "features" and "cat" are both multivalued fields... you just list mul

Re: Sentence level searching

2006-11-12 Thread Michael Imbeault
Hello everyone, Solr puts a configurable gap between values of the same field, so you could index every sentence as a separate value of a multi-valued field. Thanks for the answer Yonik; I forgot about Multivalued fields! I'm not exactly sure of how to add multiple values to a single field (asid

Re: Sentence level searching

2006-11-12 Thread Yonik Seeley
On 11/12/06, Michael Imbeault <[EMAIL PROTECTED]> wrote: I'm trying to do some sentence-level searching with Solr; basically, I want to find if two words are in the same sentence. As I read on the Lucene mailing list, there's many ways to do this, including but not limited to : -inserting specia