lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Special character search in Solr and boosting without altering the resultset
Date Sat, 01 Feb 2014 15:20:39 GMT
Hi,

Can you elaborate your boosting requirement? There is a carat operator to boost query terms. 

for example : q=term1 term2^0.6 




On Saturday, February 1, 2014 1:51 PM, abhishek jain <abhishek.netjain@gmail.com> wrote:
Hi,
Ok thanks, will look more into it,

Any info on boosting without altering the resultset?

Thanks
Abhishek 


> -----Original Message-----
> 
> Hi Abhishek,
> 
> dot is not a special character. Your field type / analyzer is stripping
> that character. Please see similar discussions and alternative
> solutions.
> 
> http://search-lucene.com/m/6dbI9zMSob1
> http://search-lucene.com/m/Ac71G0KlGz
> http://search-lucene.com/m/RRD2D1p1mi
> 
> Ahmet
> 
> 
> 
> On Friday, January 31, 2014 8:23 PM, abhishek jain
> <abhishek.netjain@gmail.com> wrote:
> Hi friends,
> 
> I am facing a strange problem, When I search a term eg     .Net   , the
> solr searches for Net and not includes '.'
> 
> Is dot a special character in Solr? I tried escaping it with backslash
> in the url call to solr, but no use same resultset,
> 
> 
> 
> Also , is there a way to boost some terms within a resultset.
> 
> I mean I want to boost a term within a result and I don't want to fire
> a separate query. I couldn't use OR operator as it will modify the
> resultset.
> I want to use a single query and boost. I don't want to use dismax
> query as well,
> 
> 
> 
> Please advice.
> 
> 
> 
> Thanks,
> 
> Abhishek


Mime
View raw message