Re: Solr custom component issue

2015-05-11 Thread nutchsolruser
Thanks Upayavira, I tried it by changing it to first-component in solrconfig.xml but no luck . Am I missing something here ? Here I want to add my own qf fields with boost in query. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-custom-component-issue

Re: Solr custom component issue

2015-05-11 Thread Upayavira
On Mon, May 11, 2015, at 10:30 AM, nutchsolruser wrote: I can not set qf in solrconfig.xml file because my qf and boost values will be changing frequently . I am reading those values from external source. Can we not set qf value from searchComponent? Or is there any other way to do

Re: Solr custom component issue

2015-05-11 Thread Upayavira
arr name=last-components strcustom-component/str /arr /requestHandler How I can add qf param correctly in query so that solr can use this while searching ? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-custom-component-issue-tp4204799

Re: Solr custom component issue

2015-05-11 Thread Upayavira
it to first-component in solrconfig.xml but no luck . Am I missing something here ? Here I want to add my own qf fields with boost in query. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-custom-component-issue-tp4204799p4204810.html Sent from the Solr - User

Solr custom component issue

2015-05-11 Thread nutchsolruser
? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-custom-component-issue-tp4204799.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr custom component issue

2015-05-11 Thread nutchsolruser
.nabble.com/Solr-custom-component-issue-tp4204799p4204815.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr custom component issue

2015-05-11 Thread nutchsolruser
-custom-component-issue-tp4204799p4204832.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr custom component issue

2015-05-11 Thread j 90
and there is seperate module from which these values get populated , I am reading those values from external datasource and I want to attach them to each request . -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-custom-component-issue-tp4204799p4204832.html Sent from

Re: Solr custom component issue

2015-05-11 Thread Upayavira
external datasource and I want to attach them to each request . -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-custom-component-issue-tp4204799p4204832.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: solr custom component

2012-01-31 Thread Erick Erickson
Look at the Sort class. You just specify the field you want to sort on, direction, and pass the class to your IndexSearcher.search method. Best Erick On Tue, Jan 31, 2012 at 1:24 AM, Peter Markey sudoma...@gmail.com wrote: Hi Eric, I tried looking for a sample code to sort on Date but was

Re: solr custom component

2012-01-30 Thread Peter Markey
Hi Eric, I tried looking for a sample code to sort on Date but was unable to find one? I am using 3.4 version. Any idea as to where I can find one? Thanks a ton On Fri, Jan 27, 2012 at 8:13 AM, Erick Erickson erickerick...@gmail.comwrote: Why not just sort on date and take the first doc

Re: solr custom component

2012-01-27 Thread Erick Erickson
Why not just sort on date and take the first doc returned in the list? Best Erick On Thu, Jan 26, 2012 at 10:33 AM, Peter Markey sudoma...@gmail.com wrote: Hello, I am building a custom component in Solr and I am trying to construct a query to get the latest (based on a date field) DocID