solr boosting any perticular URL

2014-07-17 Thread rahulmodi
Hi There,

I am new to Solr. My client is asking me to boost a particular URL so that
it should appear on the top of the results.
I have already searched on various websites but i did not found boosting for
particular URL.

Please tell me whether this feature is available or not, if available then
how to achieve it.

Thanks
Rahul Modi



--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-boosting-any-perticular-URL-tp4147657.html
Sent from the Solr - User mailing list archive at Nabble.com.


how to achieve static boost in solr

2014-07-23 Thread rahulmodi
Hi,

I am struggling how to achieve static boost in solr, i have visited many web
sites but not getting solid answer.

The requirement is as below:
Suppose i have 100 keywords to search for and for each keyword i want
particular URL to be appear on top.

Say..
for keyword *"car"* the URL *"http://car.com"* should be on the top
for keyword *"building"* the URL *"http://building.com"* should be on the
top
for keyword *"java"* the URL *"http://javajee.com"* should be on the top
And So On

How to achieve this if there are many no.of keywords or queries and i don't
want to Hard code in java API as i should not hard coding for hundreds of
keywords. 
I am using DB crawling and many of the keywords and all the urls are stored
in DB.
If i can use some configuration settings to achieve this then it will be
better.




--
View this message in context: 
http://lucene.472066.n3.nabble.com/how-to-achieve-static-boost-in-solr-tp4148788.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: how to achieve static boost in solr

2014-07-24 Thread rahulmodi
Thanks a lot Erick,

i have looked at Query Elevation Component, it works but the problem is if i
need to add new  tag or update existing  tag in elevate.xml
file then i need to restart the server in order to take effect.

I have also used "forceElevation=true" even then it requires restarting
server.

Is there any way by which we can achieve this without restarting server.

Also, there is another issue is that it works only when we use exact query,
example is below:
elevate.xml file has entry like:-


  http://welcome.energy.com/"; />


if i use "energy" as query then i get correct url as
"http://welcome.energy.com/";
But if i use "power energy" as query then i get another url but here also i
want the url "http://welcome.energy.com/"; to be displayed.

Please suggest how to achieve this.
Thanks in advance.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/how-to-achieve-static-boost-in-solr-tp4148788p4148999.html
Sent from the Solr - User mailing list archive at Nabble.com.


boosting not working in solr

2014-11-13 Thread rahulmodi
Hi All,

i have to achieve static boost in solr. To apply static boosting i have
already gone through the link
http://wiki.apache.org/solr/QueryElevationComponent . i did in same way as
mentioned in this link even then boosting is not working.. don't know why.

My elevate.xml looks like:



 
  
 
 
 
  




solrconfig.xml file also having entry for elevate.xml file.

i am looking for the result from solr UI with url:
http://localhost:8983/solr/#/collection1/query
Also i have used &enableElevation=true&forceElevation=true in the url but no
success.

Please tell me whether i am missing anything or is it correct way to achieve
boost through elevate.xml file

 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/boosting-not-working-in-solr-tp4169049.html
Sent from the Solr - User mailing list archive at Nabble.com.


solr cloud config files not getting updated even without restarting server

2014-11-20 Thread rahulmodi
Hi All,

I want to use Boost feature by using elevate.xml file. It works perfectly on
local system because on local there is no cloud server or zookeeper. Here
when i update elevate.xml file and refresh the solr admin page it instantly
reflect the changes in this file and after taking reload of particular
collection i can see the results as mentioned in elevate.xml file

But when i try the same thing on cloud environment then it doesn't reflect
the changes in elevate.xml file after refreshing all the instances of cloud
server but it reflects after restarting the servers. 

The thing is how can i avoid restarting the solr cloud server ?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-cloud-config-files-not-getting-updated-even-without-restarting-server-tp4170123.html
Sent from the Solr - User mailing list archive at Nabble.com.


elevate.xml not getting updated after refreshing the solr admin page in solr cloud env.

2014-11-20 Thread rahulmodi
Hi All,

I want to use Boost feature by using elevate.xml file. It works perfectly on
local system because on local there is no cloud server or zookeeper. Here
when i update elevate.xml file and refresh the solr admin page it instantly
reflect the changes in this file and after taking reload of particular
collection i can see the results as mentioned in elevate.xml file

But when i try the same thing on cloud environment then it doesn't reflect
the changes in elevate.xml file after refreshing all the instances of cloud
server but it reflects after restarting the servers. 

The thing is how can i avoid restarting the solr cloud server ?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/elevate-xml-not-getting-updated-after-refreshing-the-solr-admin-page-in-solr-cloud-env-tp4170125.html
Sent from the Solr - User mailing list archive at Nabble.com.