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

Re: Suggestions needed: Lots of updates for tiny changes

2009-07-06 Thread Development Team
in Lucene is a similar approach, as it Solr's ExternalFileField. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Development Team dev.and...@gmail.com To: solr-user@lucene.apache.org Sent: Friday, July 3, 2009 4:46:37 PM Subject

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

Re: Solr Jetty confusion

2009-06-19 Thread Development Team
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 melbournebeerba...@gmail.com wrote: Development Team wrote: To specify the solr-home I use a Java system property (instead of the JNDI way) since I already

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

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

Re: Problem getting Solr statistics

2009-06-17 Thread Development Team
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 dev.and...@gmail.comwrote: Hi all, I am stumped trying

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

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)

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 score

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

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

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

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