How to do a "reverse distance" search?

2009-07-10 Thread Development Team
Hi everybody, Let's say we have 10,000 traveling sales-people spread throughout the country. Each of them has has their own territory, and most of the territories overlap (eg. 100 sales-people in a particular city alone). Each of them also has a maximum distance they can travel. Some can trave

Re: Suggestions needed: Lots of updates for tiny changes

2009-07-06 Thread Development Team
t mapping). I think ParallelReader in Lucene is a similar > approach, as it Solr's ExternalFileField. > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > - Original Message > > From: Development Team > > To: solr-

Suggestions needed: Lots of updates for tiny changes

2009-07-03 Thread Development Team
Hi everybody, Let's say I had an index with 10M large-ish documents, and as people logged into a website and viewed them the "last viewed date" was updated to the current time. We index a document's last-viewed-date because we allow users to a) search on this last-viewed-date alongside all oth

Re: Solr Jetty confusion

2009-06-19 Thread Development Team
iner you deploy Solr into. What exactly are you trying to do besides getting Solr to start in Jetty? - Daryl. On Thu, Jun 18, 2009 at 9:58 PM, pof wrote: > > > Development Team wrote: > > > > To specify the > > solr-home I use a Java system property (instead of th

Re: Solr Jetty confusion

2009-06-18 Thread Development Team
Hey, So... I'm assuming your problem is that you're having trouble deploying Solr in Jetty? Or is your problem that it's deploying just fine but your code throws an exception when you try to run it? I am running Solr in Jetty, and I just copied the war into the webapps directory and it wo

Re: Does Solr 1.4 really work nicely on Jboss 4?

2009-06-18 Thread Development Team
Hi Giovanni, Solr 1.4 does work fine in JBoss (all of the features, including all of the admin pages). For example, I am running it in JBoss 4.0.5.GA on JDK 1.5.0_18 without problems. I am also using Jetty instead of Tomcat, however instructions for getting it to work in JBoss with Tomcat

Re: Problem getting Solr statistics

2009-06-17 Thread Development Team
e SolrDispatchFilter puts the "core" into the request, but not all things that need access to the core are servlets or filters. For example, I'm using an MBean whose actions are called through SNMP.) - Daryl. On Tue, Jun 16, 2009 at 2:42 PM, Development Team wrote: > Hi all, >

Problem getting Solr statistics

2009-06-16 Thread Development Team
Hi all, I am stumped trying to get statistics from the Solr server. It seems that every time I get the correct SolrInfoMBean, when I look up the proper value (by name) in the NamedList, I get the exact same number back each time. For example, upon start-up the server reports that "2" queries h

Re: Solr query performance issue

2009-05-26 Thread Development Team
Yes, those terms are important in calculating the relevancy scores so they are not in the filter queries. I was hoping if I can cache everything about a field, any combinations on the field values will be read from cache. Then it does not matter if I query for field1:(02 04 05), or field1:(01 02)

SNMP monitoring

2009-04-15 Thread Development Team
Hi everybody, How would I set up SNMP monitoring of my Solr server? I've done some searching of the wiki and Google and have come up with a blank. Any pointers? - Daryl.

Re: Sort by distance from location?

2009-04-14 Thread Development Team
Ah, good question: Yes, we've tried it... and it was slower. To give some avg times: Regular non-distance Searches: 100ms Our expanding-criteria solution: 600ms LocalSolr: 800ms (We also had problems with LocalSolr in that the results didn't seem to be cached in Solr upon doing a search. So eac

Sort by distance from location?

2009-04-14 Thread Development Team
Hi everybody, My index has latitude/longitude values for locations. I am required to do a search based on a set of criteria, and order the results based on how far the lat/long location is to the current user's location. Currently we are emulating such a search by adding criteria of ever-widen

How to manage real-time (presence) data in a large index?

2009-04-14 Thread Development Team
Hi everybody, I have a relatively large index (it will eventually contain ~4M documents and be about 3G in size, I think) that indexes user data, settings, and the like. The documents represent a community of users whereupon a subset of them may be "online" at any time. Also, we want to scor

How to create a query directly (bypassing the query-parser)?

2009-03-31 Thread Development Team
Hi everybody, after reading the documentation on the Solr site, I have the following newbie-ish question: On the Lucene query parser syntax page ( http://lucene.apache.org/java/2_4_0/queryparsersyntax.html) linked to from the Solr query syntax page, they mention: "If you are programmatically gener

Birthday (that's "day" not "date") search query?

2009-03-30 Thread Development Team
Hi everyone, I have an index that stores birth-dates, and I would like to search for anybody whose birth-date is within X days of a certain month/day. For example, I'd like to know if anybody's birthday is coming up within a certain number of days, regardless of what year they were born. How w