Relevancy and random sorting

2012-01-11 Thread Alexandre Rocco
Hello all, Recently i've been trying to tweak some aspects of relevancy in one listing project. I need to give a higher score to newer documents and also boost the document based on a boolean field that indicates the listing has pictures. On top of that, in some situations we need a random sorting

Re: Relevancy and random sorting

2012-01-11 Thread Alexandre Rocco
;t think math.random > is a supported function OOB > > Best > Erick > > > On Wed, Jan 11, 2012 at 8:29 AM, Alexandre Rocco > wrote: > > Hello all, > > > > Recently i've been trying to tweak some aspects of relevancy in one > listing > > project

Re: Relevancy and random sorting

2012-01-12 Thread Alexandre Rocco
7;re thinking. > >> > >> You could create your own function query to do the boosting, see: > >> http://wiki.apache.org/solr/SolrPlugins#ValueSourceParser > >> > >> which would keep you from having to re-index your data to get > >> a different "r

Re: Relevancy and random sorting

2012-01-12 Thread Alexandre Rocco
en, if it's okay for you. > > -Kuli > > Am 12.01.2012 14:38, schrieb Alexandre Rocco: > > Erick, >> >> This document already has a field that indicates the source (site). >> The issue we are trying to solve is when we list all documents without any >> s

Jetty rerturning HTTP error code 413

2010-08-18 Thread Alexandre Rocco
e any configuration that need to be tweaked on Jetty or other component to make this query work? Any advice is really appreciated. Thanks! Alexandre Rocco

Re: Jetty rerturning HTTP error code 413

2010-08-19 Thread Alexandre Rocco
and search for 'headerBufferSize'; I think it controls > the size of the url. By default it is 8192. > > didier > > On Wed, Aug 18, 2010 at 2:43 PM, Alexandre Rocco > wrote: > > Guys, > > > > We are facing an issue executing very large query (~4000 bytes in the >

Re: Jetty rerturning HTTP error code 413

2010-08-19 Thread Alexandre Rocco
Hi diddier, Nevermind. I figured it out. There was some miscommunication between me and our IT guy. Thanks for helping. It's fixed now. Alexandre On Thu, Aug 19, 2010 at 9:59 AM, Alexandre Rocco wrote: > Hi diddier, > > I have updated my etc/jetty.xml and updated my headerBuffe

Faceting and first letter of fields

2010-10-14 Thread Alexandre Rocco
Guys, We have a website running Solr indexing books, and we use a facet to filter books by author. After some time, we detected that this facet is very large and we need to create some other feature to help finding the information. Our product team asked to create a page that can show all authors

Re: Faceting and first letter of fields

2010-10-14 Thread Alexandre Rocco
Thank you for both responses. Another question I have is where the processing of this "first letter" is more adequate. I am considering updating my data import handler to execute a script to extract the first letter from the author field. I saw other thread when someone mentioned using a field an

Slave index size growing fast

2012-03-23 Thread Alexandre Rocco
Hello, We have a Solr index that has an average of 1.19 GB in size. After configuring the replication, the slave machine is growing the index size expoentially. Currently we have an slave with 323.44 GB in size. Is there anything that could cause this behavior? The current replication config is be

Re: Slave index size growing fast

2012-03-23 Thread Alexandre Rocco
#x27;s something odd in your configuration, > but I confess I'm at a loss as to what. > > Best > Erick > > On Fri, Mar 23, 2012 at 10:28 AM, Alexandre Rocco > wrote: > > Hello, > > > > We have a Solr index that has an average of 1.19 GB in size. > >

Re: Slave index size growing fast

2012-03-23 Thread Alexandre Rocco
d bring up a new slave and attach it to the master and see > what happens there. You wouldn't affect production if you didn't point > incoming requests at it... > > Best > Erick > > On Fri, Mar 23, 2012 at 11:03 AM, Alexandre Rocco > wrote: > > Erick, > &g

Re: Slave index size growing fast

2012-03-23 Thread Alexandre Rocco
start it back up. Since this is a > > production system, I'd only try this if I had more than one slave. > Although > > you could bring up a new slave and attach it to the master and see > > what happens there. You wouldn't affect production if you didn't point

Re: Slave index size growing fast

2012-03-26 Thread Alexandre Rocco
This > might be what you're seeing. > > I'm grasping at straws a bit here, but this seems possible. > > Best > Erick > > On Fri, Mar 23, 2012 at 1:16 PM, Alexandre Rocco > wrote: > > Tomás, > > > > The 300+GB size is only inside the index.20110

bbox query and range queries

2012-03-29 Thread Alexandre Rocco
Hello, I'm trying to perform some queries on a location field on the index. The requirement is to search listings inside a pair of coordinates, like a bounding box. Taking a look on the wiki, I noticed that there is the option to use the bbox query but in does not create a retangular shaped box t

Re: bbox query and range queries

2012-03-29 Thread Alexandre Rocco
amp;debugQuery=on? > > Because this should work as far as I can tell. > > Best > Erick > > On Thu, Mar 29, 2012 at 11:04 AM, Alexandre Rocco > wrote: > > Hello, > > > > I'm trying to perform some queries on a location field on the index. >

Re: bbox query and range queries

2012-03-29 Thread Alexandre Rocco
to stored="true" and look at search results for > documents you think should match, just to see the raw value Who knows? > It could be something as silly as you have your lat/lon backwards somehow, > I've > spent _days_ having problems like that ... > > Best

Re: bbox query and range queries

2012-03-29 Thread Alexandre Rocco
query? I know that this one is off-topic, just curious. Thanks Alexandre On Thu, Mar 29, 2012 at 7:26 PM, Yonik Seeley wrote: > On Thu, Mar 29, 2012 at 6:20 PM, Alexandre Rocco > wrote: > > http://localhost:8984/solr/select?q=*:*&fq=local:[-23.6677,-46.7315 TO > > -23.67

DataImportHandler in Solr 4.0

2011-02-23 Thread Alexandre Rocco
Hi guys, I'm having some issues when trying to use the DataImportHandler on Solr 4.0. I've downloaded the latest nightly build of Solr 4.0 and configured normally (on the example folder) solrconfig.xml file like this: data-config.xml At this point I noticed that the DIH jar was not being loa

DataImportHandler in Solr 4.0

2011-02-23 Thread Alexandre Rocco
Hi guys, I'm having some issues when trying to use the DataImportHandler on Solr 4.0. I've downloaded the latest nightly build of Solr 4.0 and configured normally (on the example folder) solrconfig.xml file like this: data-config.xml At this point I noticed that the DIH jar was not being lo

Re: DataImportHandler in Solr 4.0

2011-02-23 Thread Alexandre Rocco
You need to > get it on the classpath somehow. You could add another solrconfig.xml to resolve this. > > ~ David Smiley > Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/ > > On Feb 23, 2011, at 4:11 PM, Alexandre Rocco wrote: > > > Hi guys, > > >

Distances in spatial search (Solr 4.0)

2011-02-28 Thread Alexandre Rocco
Hi guys, We are implementing a separate index on our website, that will be dedicated to spatial search. I've downloaded a build of Solr 4.0 to try the spatial features and got the geodist working really fast. We now have 2 other features that will be needed on this project: 1. Returning the dista

Re: Distances in spatial search (Solr 4.0)

2011-03-01 Thread Alexandre Rocco
dist() to sort by distance. > > Getting the distance returned us documented on the wiki if you are not > using score. see reference to _Val_ > > Bill Bell > Sent from mobile > > > On Feb 28, 2011, at 7:54 AM, Alexandre Rocco wrote: > > > Hi guys, > > > >

DIH import and postImportDeleteQuery

2011-05-24 Thread Alexandre Rocco
Guys, I am facing a situation in one of our projects that I need to perform a cleanup to remove some documents after we perform an update via DIH. The big issue right now comes from the fact that when we call the DIH with clean=false, the postImportDeleteQuery is not executed. My setup is current

Re: DIH import and postImportDeleteQuery

2011-05-25 Thread Alexandre Rocco
t for my post "DIH - deleting documents, high performance > (delta) imports, and passing parameters" which shows my solution a > similar problem. > > Ephraim Ofir > > -----Original Message- > From: Alexandre Rocco [mailto:alel...@gmail.com] > Sent:

Re: DIH import and postImportDeleteQuery

2011-05-25 Thread Alexandre Rocco
> > The jira ticket is here: https://issues.apache.org/jira/browse/SOLR-2492 > > James Dyer > E-Commerce Systems > Ingram Content Group > (615) 213-4311 > > > -Original Message- > From: Alexandre Rocco [mailto:alel...@gmail.com] > Sent: Wednesday, May 2

Storing RandomSortField

2010-05-18 Thread Alexandre Rocco
Hi guys, Is there any way to mak a RandomSortField be stored? I'm trying to do it for debugging purposes, My intention is to take a look at the values that are stored there to determine the sorting that is being applied to the results. I tried to make it a stored field as: And also tried to cre

Re: Storing RandomSortField

2010-05-19 Thread Alexandre Rocco
in the searchs, so no value > is > > indexed. You will find more information here: > > > > > http://lucene.apache.org/solr/api/org/apache/solr/schema/RandomSortField.html > > > > Marco Martínez Bautista > > http://www.paradigmatecnologico.com > > Aven