RE: Boosting score of a document without deleting and adding another document

2011-05-11 Thread karan veer singh
So now I did the following : http://localhost:8983/solr/select?indent=on&q=car%20power%20adaptor&sort=idRank%20desc&fl=id,score,name Yet, it's not taking idRank into account, it's just giving the results according to the score. Also, when I try to output idRank by including it in the fl

RE: Boosting score of a document without deleting and adding another document

2011-05-11 Thread karan veer singh
I just want to confirm, (as I'm not quiet familiar with the function query syntax) will the following query be alright to search "car power adaptor", so that the entry with highest idRank be displayed first? http://localhost:8983/solr/select?indent=on&q=car%20power%20adaptor&fl=id,score,name&_va

RE: Boosting score of a document without deleting and adding another document

2011-05-11 Thread karan veer singh
I did exactly the stuff that was told in the link. I have certain items with ids In schema.xml:I have set a fieldtype with name = idRankFile and keyField = id Also, a field with name idRank and type idRankFile In data directory, I made a text file external_idRankIn it, I set 3007WFP = 1.0wh

RE: Boosting score of a document without deleting and adding another document

2011-05-11 Thread karan veer singh
How exactly do I define these external keyfields?For example, I have a document in monitor.xml, and I want to define another field, lets say score1, to be used in FunctionQueries.From what I got from the documentation, I have to define a file called external_score1 in the index directory. In th

RE: Boosting score of a document without deleting and adding another document

2011-05-10 Thread karan veer singh
Is the keyField over here the same thing as the "score" of the field? > Date: Tue, 10 May 2011 06:39:32 -0700 > From: iori...@yahoo.com > Subject: RE: Boosting score of a document without deleting and adding another > document > To: solr-user@lucene.apache.org > > > > What I want to do is : eve

RE: Boosting score of a document without deleting and adding another document

2011-05-10 Thread karan veer singh
What I want to do is : everytime an item is searched, I get the ID of that document, and now I want to increase this document's score.Function queries at query time won't really help with this. Any way to do this other than adding the entire document again? > From: kvs_cheezy_...@hotmail.com >

RE: Boosting score of a document without deleting and adding another document

2011-05-10 Thread karan veer singh
Any other workaround? Maybe by fiddling around with the source? > From: kvs_cheezy_...@hotmail.com > To: solr-user@lucene.apache.org > Subject: Boosting score of a document without deleting and adding another > document > Date: Tue, 10 May 2011 16:17:25 +0530 > > > > I want to add score for do

Boosting score of a document without deleting and adding another document

2011-05-10 Thread karan veer singh
I want to add score for documents dynamically. For this, the method that I know right now is to use "add". Using this method, everytime I need to get the contents of that document, and then add another record with the boost field. Is there a way in which I can just specify the boost attribute