Re: Replication script file issues..

2007-07-19 Thread Jed Reynolds
Matthew Runo wrote: It seems that as soon as I get a commit, snapshooter goes wild. I have 1107 running instances of snapshooter right now.. I suspect you've got pathing and/or permissions issues. First try running snapshooter -v, and it will be louder. I've often had to dig in deeper, tho.

Re: DisMax query and date boosting

2007-07-19 Thread climbingrose
Thanks for the answer Chris. The DisMax query handler is just amazing! On 7/20/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : Just tried the bq approach and it works beautifully. Exactly what I was : looking for. Still, I'd like to know which approach is the preferred? Thanks : again guys.

Re: comma-separated multivalued field

2007-07-19 Thread Ryan McKinley
Lance Lance wrote: Hi- I'd like to make a multivalued field of comma-separated phrases. Is there a class available that I can use for this? I can see how to create N separate elements for the same field in the update XML, but is there something I can use in type definition? If you are just

comma-separated multivalued field

2007-07-19 Thread Lance Lance
Hi- I'd like to make a multivalued field of comma-separated phrases. Is there a class available that I can use for this? I can see how to create N separate elements for the same field in the update XML, but is there something I can use in type definition? Thanks, Lance

Re: Impementing Solr

2007-07-19 Thread Chris Hostetter
: I tried looking into the "SolrServlet", it is depricated...(I'm gonna : looking into Javadoc as well) but just looking for the quick answer ... : which new classes shld I be using to get the similar result as in the : tutorial. let's say, I'm doing the filter search and I'm sending the : query

Re: DisMax query and date boosting

2007-07-19 Thread Chris Hostetter
: Just tried the bq approach and it works beautifully. Exactly what I was : looking for. Still, I'd like to know which approach is the preferred? Thanks : again guys. i personally recommend the function approach, because it gives you a more gradual falloff in terms of the scores of documents ...

Re: DisMax query and date boosting

2007-07-19 Thread climbingrose
Just tried the bq approach and it works beautifully. Exactly what I was looking for. Still, I'd like to know which approach is the preferred? Thanks again guys. On 7/20/07, climbingrose <[EMAIL PROTECTED]> wrote: Thanks for both answers. Which one is better in terms of performance? bq or bf? O

Re: DisMax query and date boosting

2007-07-19 Thread climbingrose
Thanks for both answers. Which one is better in terms of performance? bq or bf? On 7/20/07, Daniel Alheiros <[EMAIL PROTECTED]> wrote: Sorry just correcting myself: your_date_field:[NOW-24HOURS TO NOW]^10.0 Regards, Daniel On 19/7/07 15:25, "Daniel Alheiros" <[EMAIL PROTECTED]> wrote: > I th

Re: DeleteByQuery python syntax for delte all

2007-07-19 Thread Yonik Seeley
On 7/19/07, Roopesh P Raj <[EMAIL PROTECTED]> wrote: This should work : c.deleteByQyery('id:[* TO *]') c.commit() *:* works in the latest versions of Solr to mean "all documents", and I think we will be adding special support for that query to quickly remove the entire index. -Yonik

Re: DisMax query and date boosting

2007-07-19 Thread Daniel Alheiros
Sorry just correcting myself: your_date_field:[NOW-24HOURS TO NOW]^10.0 Regards, Daniel On 19/7/07 15:25, "Daniel Alheiros" <[EMAIL PROTECTED]> wrote: > I think in this case you can use a "bq" (Boost Query) so you can apply this > boost to the range you want. > > your_date_field:[NOW/DAY-24HOUR

Re: DisMax query and date boosting

2007-07-19 Thread Daniel Alheiros
I think in this case you can use a "bq" (Boost Query) so you can apply this boost to the range you want. your_date_field:[NOW/DAY-24HOURS TO NOW]^10.0 This example will boost your documents with date within the last 24h. Regards, Daniel On 19/7/07 14:45, "climbingrose" <[EMAIL PROTECTED]> wrote

Re: DisMax query and date boosting

2007-07-19 Thread Pieter Berkel
Try using a boost function (bf) parameter like this: bf=recip(rord(listedDate),1,1000,1000)^2.5 This should boost documents with more recent listedDate so they appear higher in the results list. For more info see the wiki page on DismaxRequestHandler and Functions: http://wiki.apache.org/solr/D

DisMax query and date boosting

2007-07-19 Thread climbingrose
Hi all, I'm puzzling over how to boost a date field in a DisMax query. Atm, my qf is "title^5 summary^1". However, what I really want to do is to allow document with latest "listedDate" to have better score. For example, documents with listedDate:[NOW-1DAY TO *] have additional score over documen

Re: DeleteByQuery python syntax for delte all

2007-07-19 Thread vanderkerkoff
roopesh, thank you very much roopesh-2 wrote: > > This should work : > c.deleteByQyery('id:[* TO *]') > c.commit() > > Regards > Roopesh > > vanderkerkoff wrote: >> Hello everyone >> >> Loving solr, got an idiot question for you. >> >> I have been manually deleting our index in the python inte

Re: DeleteByQuery python syntax for delte all

2007-07-19 Thread Roopesh P Raj
This should work : c.deleteByQyery('id:[* TO *]') c.commit() Regards Roopesh vanderkerkoff wrote: Hello everyone Loving solr, got an idiot question for you. I have been manually deleting our index in the python interpretor when testing from solr import SolrConnection c = SolrConnection(host=

DeleteByQuery python syntax for delte all

2007-07-19 Thread vanderkerkoff
Hello everyone Loving solr, got an idiot question for you. I have been manually deleting our index in the python interpretor when testing from solr import SolrConnection c = SolrConnection(host='localhost:8983', persistent=False) allgone = '[ * : * ]' c.deleteByQuery(query=allgone) c.commit(opt