You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by jame vaalet <ja...@gmail.com> on 2011/07/25 16:01:21 UTC

highlighting fragsize

hi
when u highlight and get back snippet fragments , can you over write the
default hl.regex.pattern through url .
can some quote an example url of that sort ?

what if i make pass hl.slop=0 will this stop considering regex pattern at
all ?

>


-- 

-JAME

Re: proximity within phrases

Posted by Ahmet Arslan <io...@yahoo.com>.
> How do u write solr query to mention
> proximity between two phrases 
> 
> dance jockey should appear within 10 words before video
> jokey 
> 
> "("dance jockey") ("video jockey")"~10 
> 
> This isn't working fine . can some one suggest a way ?

This is not possible with out-of-the-box solr, though this kind of searches are possible with lucene's SpanQuery family.

It should be possible with Xml and Surround query parsers.
http://www.lucidimagination.com/blog/2009/02/22/exploring-query-parsers/

Here is  an effort to integrate xml query parser to solr, 
https://issues.apache.org/jira/browse/SOLR-839

proximity within phrases

Posted by Jame Vaalet <jv...@capitaliq.com>.
How do u write solr query to mention proximity between two phrases 

dance jockey should appear within 10 words before video jokey 

"("dance jockey") ("video jockey")"~10 

This isn't working fine . can some one suggest a way ?


-JAME