backup command

2010-03-31 Thread Jake Brownell
Hi, I'm running the official Solr 1.4 release and encountering an exception and told that a file does not exist when using the java replication command=backup. It looks very much like SOLR-1475 which was fixed for 1.4. I tried adding a deletionPolicy within solrconfig.xml to keep commit points

selecting documents older than 4 hours

2010-03-31 Thread herceg_novi
Hello, I'd like to select documents older than 4 hours in my Solr 1.4 installation. The query q=last_update_date:[NOW-7DAYS TO NOW-4HOURS] does not return a correct recordset. I would expect to get all documents with last_update_date in the specified range. Instead solr returns all documents t

Re: Some indexing requests to Solr fail

2010-03-31 Thread Lance Norskog
'waitFlush' means 'wait until the data from this commit is completely written to disk'. 'waitSearcher' means 'wait until Solr has completely finished loading up the new index from what it wrote to disk'. Optimize rearranges the entire disk footprint of the disk. It needs a separate amount of free

Re: Shred queries on EmbeddedSolrServer

2010-03-31 Thread Lance Norskog
You can create and destroy cores over the HTTP interface: http://www.lucidimagination.com/search/document/CDRG_ch08_8.2.5 But you are right, the Embedded Solr API does not support Distributed Search across multiple cores. See: org.apache.solr.handler.component.SearchHandler.submit() which v

Re: Query time only Ranges

2010-03-31 Thread Chris Hostetter
: I am working on use case - wherein i need to Query to just time ranges : without date component. : : search for docs with between 4pm - 6pm if you only need to store the hour of the day, and query on the hour of the day, then i would just use a numeric integer field containing the hour of t

Re: Solr crashing while extracting from very simple text file

2010-03-31 Thread Ross
Does anyone have any thoughts or suggestions on this? I guess it's really a Tika problem. Should I try to report it to the Tika project? I wonder if someone could try it to see if it's a general problem or just me. I can reproduce it by firing up the nano editor, creating a file with XXBLE on one

Re: exclude words?

2010-03-31 Thread Chris Hostetter
: I think you can use something like "q=hello world -books". Should do. or just "q=-books" ... finds all docs that do not have books (in the default search field) : > so solr returns all documents, that don't have "books" somewhere in them? "somewhere" is kinda vague ... if you mean "don't hav

Re: resetting stats

2010-03-31 Thread Chris Hostetter
: Say I have 3 Cores names core0, core1, and core2, where only core1 and core2 : have documents and caches. If all my searches hit core0, and core0 shards : out to core1 and core2, then the stats from core0 would be accurate for : errors, timeouts, totalTime, avgTimePerRequest, avgRequestsPerSeco

Re: resetting stats

2010-03-31 Thread Trey Grainger
: reloading the core just to reset the stats definitely seems like throwing : out the baby with the bathwater. Agreed about throwing out the baby with the bath water - if stats need to be reset, though, then that's the only way today. A reset stats button would be a nice way to prevent having to

Re: resetting stats

2010-03-31 Thread Chris Hostetter
: You can reload the core on which you want to reset the stats - this lets you : keep the engine up and running without requiring you restart Solr. If you reloading the core just to reset the stats definitely seems like throwing out the baby with the bathwater. : have an separate core for aggr

Re: DIH - Unable to connect to a DB using JDBC:ODBC bridge

2010-03-31 Thread MitchK
I can only speculate, since I am not sure, why you are using "{" and "}" in your declarations. I don't really know what you are expecting "{MetaMatrix ODBC}" should do. The mysql-connector can be loaded, because I have set a classpath to it (it is stored in my JRE's root-directory). Hope this he

Re: Spatial / Local Solr radius

2010-03-31 Thread Michael
Sean, The JTeam code looks like it is based on an older version of the Local Lucene code. The Lucene code appears to do a bit of sanity checking that is not currently done in the JTeam code. The problem also seems to happen more often with positive lat/long values (as noted by Mauricio). I ran th

Re: Query time only Ranges

2010-03-31 Thread Shashi Kant
In that case, you could just calculate an offset from 00:00:00 in seconds (ignore the date) Pretty simple. On Wed, Mar 31, 2010 at 4:57 PM, abhatna...@vantage.com wrote: > > Hi Sashi, > Could you elaborate point no .1 in the light of case where in a field should > have just time? > > > Ankit > >

Re: Query time only Ranges

2010-03-31 Thread abhatna...@vantage.com
Hi Sashi, Could you elaborate point no .1 in the light of case where in a field should have just time? Ankit -- View this message in context: http://n3.nabble.com/Query-time-only-Ranges-tp688831p689413.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Spatial / Local Solr radius

2010-03-31 Thread Mccleese, Sean W (388A)
Michael, This was a problem I encountered as well, sometime late summer last year. My memory is a bit hazy on the details, but as far as I remember the problem centered around the tier level being set incorrectly. Additionally, I think there's a JUnit test (perhaps CartesianShapeFilterTest?) th

Re: Query time only Ranges

2010-03-31 Thread Shashi Kant
I suggest approaching it thus: 1. Create a datetime offset from a baseline date (say Jan 1, 1900, 00:00:00) and store the date diff in secs from that date-time. 2. Use numeric range query. I find this approach works faster and would also give you the granularity you want. On Wed, Mar 31, 2010

Re: Query time only Ranges

2010-03-31 Thread abhatna...@vantage.com
One issue though – first I need precision upto seconds. Also does anybody knows that performance issue involved with this granularity. How about the approach of breaking date time field into fields like hours, mins, secs Ankit -- View this message in context: http://n3.nabble.com/Query-time

Re: Spatial / Local Solr radius

2010-03-31 Thread Michael
Mauricio, I hooked up the spatial solr plugin to the Eclipse debugger and narrowed the problem down to CartesianShapeFilter.getBoxShape(). The algorithm used in the method can produce values of startX that are greater than endX depending on the tier level returned by CartesianTierPlotter.bestFit()

Re: Query time only Ranges

2010-03-31 Thread Silent Surfer
Small typo..Corrected and sending.. the query - [01/01/1900T16:43:42Z/HOUR TO 01/01/1900T18:55:23Z/HOUR ] would be equivalent to [01/01/1900T16:00:00Z TO 01/01/1900T18:00:00Z] Thx, Tiru - Original Message From: Silent Surfer To: solr-user@lucene.apache.org Sent: Wed, March 31, 2010

Re: Query time only Ranges

2010-03-31 Thread Silent Surfer
Hi Ankit, Try the following approach. create a query like - [01/01/1900T16:00:00Z/HOUR TO 01/01/1900T18:00:00Z/HOUR ] Solr will automatically will take care of Rounding off to the HOUR specified. For eg: the query - [01/01/1900T16:43:42Z/HOUR TO 01/01/1900T18:55:23Z/HOUR ] would be equivalent t

Re: DIH - Unable to connect to a DB using JDBC:ODBC bridge

2010-03-31 Thread Silent Surfer
Hi Mitch, The configuration that you have seems to be perfectly fine . Could you please let us know what error you are seeing in the logs ? Also, could you please confirm whether you have the mysql-connector-java-5.1.12-bin.jar under the lib folder ? Following is my configuration that I used a

Re: Realtime search and facets with very frequent commits

2010-03-31 Thread Smiley, David W.
Janne, Have you found your query relevancy to deteriorate with this setup? Something to be aware of with distributed searches is that the relevancy of each Solr core response is based on the local index to that core. So if you're distributed Solr setup does not distribute documents ran

Re: Persistent /repliction remotely...

2010-03-31 Thread Peter Sturge
An extension on this question: In my tests, when a slave restarts, it forgets it was sent a disable msg and carries on as specified in solrconfig.xml. This is expected, as these commands don't change any persistent cfg files. It's looking like the ways 'round this are: 1. Extend Solr's /replictio

Re: Some indexing requests to Solr fail

2010-03-31 Thread Jon Poulton
Hi there, Thanks for the reply! Our backend code is currently set to commit every time it sends over a batch of documents - so it depends on how big the batch is and how often edits occur - probably too often. I've looked at the code, and the SolrJ commit() method takes two parameters - one

Re: Index field untokenized

2010-03-31 Thread Chris Hostetter
: I want to index some data untokenized (e.g. url), but I can't : find a way to do it. : : I know there is a way to do it in solr configuration but I want : to specify this options directly in my solr xml. : : This is a fragment of the xml that i post in slr and I want to know if is : possible t

Query time only Ranges

2010-03-31 Thread abhatna...@vantage.com
Hi All, I am working on use case - wherein i need to Query to just time ranges without date component. search for docs with between 4pm - 6pm Approaches- create something like - [01/01/1900T16:00:00Z TO 01/01/1900T18:00:00Z ] - a fixed time component or create a field for hh only or may be

Re: Delivery Status Notification (Failure)

2010-03-31 Thread Chris Hostetter
: I got the mailer daemon error below. Maybe it likes 'private' domains like : LucidImagination better than googlemail... Can you provide all the SMTP headers (and any attachments) of the bounce meessage you got? ... sending via mail is probably not going to work well for you, so feel free to o

Re: Delivery Status Notification (Failure)

2010-03-31 Thread Peter Sturge
Hi Yonik, Well, I tried to reply to your email with all those spambot favourites, and I got the mailer daemon error below. Maybe it likes 'private' domains like LucidImagination better than googlemail... To be honest, I'd much rather live with mispelling replucidate than put up with spambots. Tha

Re: Experience with Solr and JVM heap sizes over 2 GB

2010-03-31 Thread Yonik Seeley
On Wed, Mar 31, 2010 at 11:34 AM, Burton-West, Tom wrote: > Hello all, > > We have been running a configuration in production with 3 solr instances > under one  tomcat with 16GB allocated to the JVM.  (java -Xmx16384m > -Xms16384m)  I just noticed the warning in the LucidWorks Certified > Distr

Re: Experience with Solr and JVM heap sizes over 2 GB

2010-03-31 Thread Glen Newton
I have used up to 27GB of heap with no issues, both SOLR and (just) Lucene. -Glen Newton http://zzzoot.blogspot.com/ On 31 March 2010 11:34, Burton-West, Tom wrote: > Hello all, > > We have been running a configuration in production with 3 solr instances > under one  tomcat with 16GB allocated

Re: Watch-words for the postmaster

2010-03-31 Thread Yonik Seeley
Hmmm, I see plenty of stuff in the archives that mention replication. Testing: replica replication fake fake watch fake watch rolex rolex replica top quality replica watch brands authentic -Yonik http://www.lucidimagination.com On Wed, Mar 31, 2010 at 11:09 AM, Peter Sturge wrote: > Hi, > > S

Experience with Solr and JVM heap sizes over 2 GB

2010-03-31 Thread Burton-West, Tom
Hello all, We have been running a configuration in production with 3 solr instances under one tomcat with 16GB allocated to the JVM. (java -Xmx16384m -Xms16384m) I just noticed the warning in the LucidWorks Certified Distribution Reference Guide that warns against using more than 2GB (see be

Watch-words for the postmaster

2010-03-31 Thread Peter Sturge
Hi, Sorry for putting this on the user list directly - there seems to be no allowed response from the postmaster account. I couldn't figure out why there was so little on the subject of replic_tion on the user-list, until I posted a question about it. I found that the email server's spam blocker

Persistent /repliction remotely...

2010-03-31 Thread Peter Sturge
Hi, Would anyone know if it is possible to persistently enable/disable repliction remotely using Solrj (http api)? i.e. If http://slave_host:port/solr/repliction?command=disablepollis issued, and slave_host is subsequently restarted, is

Re: exclude words?

2010-03-31 Thread Siddhant Goel
I think you can use something like "q=hello world -books". Should do. On Wed, Mar 31, 2010 at 7:34 PM, Sebastian Funk wrote: > Hey there, > > I'm sure this easy a pretty easy thing, but I can't find the solution: > can I search for a text with one word (e.g. "books") especially not in it? > so so

exclude words?

2010-03-31 Thread Sebastian Funk
Hey there, I'm sure this easy a pretty easy thing, but I can't find the solution: can I search for a text with one word (e.g. "books") especially not in it? so solr returns all documents, that don't have "books" somewhere in them? thanks for the help, sebastian

Re: Open Lucene indexs dynamically

2010-03-31 Thread Grant Ingersoll
On Mar 31, 2010, at 5:05 AM, Pierre FILSTROFF wrote: > Hello ! > > I have a question about a specific configuration of solR : I want to > configure solR to open Lucene indexs when it needs (also open indexs > dynamically), and close them after a determined duration. The goal of this > configu

Re: SOLR-1316 How To Implement this autosuggest component ???

2010-03-31 Thread Andrzej Bialecki
On 2010-03-31 06:14, Andy wrote: --- On Tue, 3/30/10, Andrzej Bialecki wrote: From: Andrzej Bialecki Subject: Re: SOLR-1316 How To Implement this autosuggest component ??? To: solr-user@lucene.apache.org Date: Tuesday, March 30, 2010, 9:59 AM On 2010-03-30 15:42, Robert Muir wrote: On Mon,

Shred queries on EmbeddedSolrServer

2010-03-31 Thread Claudio Atzori
In my application I need to create and destroy indexes via java code, so to bypass the http requests I'm using the EmbeddedSolrServer, and I am creating different SolrCore(s) one per every index I need. Now the point is that a requirement of my application is the capability to perfom a query on

Re: Re: Multiple QParserPlugins, Single RequestHandler

2010-03-31 Thread peter . sturge
Ahh, SearchComponent, that sounds like the one. I'll have a go with that and see how I get on. Hooking into log4j might be an option also. Many thanks for pointing out the right direction. Peter On Mar 30, 2010 9:54pm, Erik Hatcher wrote: On Mar 30, 2010, at 2:43 PM, Peter S wrote: I h

Search accross more than one field (dismax) ignored

2010-03-31 Thread MitchK
Hello community, it seems like the query parser ignores any other field to search on. The only one that is not ignored is the standardSearchField. My search-url: select/?q=video&qt=dismax&qf=titleMain^2.0+titleShort^5.3&debugQuery=on The parsedquerystring etc.: -- video

Re: DIH - Unable to connect to a DB using JDBC:ODBC bridge

2010-03-31 Thread MitchK
Hi, sorry, I have not much experiences in doing this with Solr, but my data-config.xml looks like: The "db" at the end of the url stands for the db you want to use. Perhaps this helps a little bit. Kind regards - Mitch -- View this message in context: http

Re: question about synonyms and response

2010-03-31 Thread MitchK
Reading the wiki, one can see that the synonyms are added to the query, when synonym-expanding at querytime is true. That means instead of searching only for "nice" you search for example for "nice | pretty". I suggest you to read the wiki, searching for synonymFilter, and consider the noticed us

[ANN] Eclipse GIT plugin beta version released

2010-03-31 Thread Thomas Koch
GIT is one of the most popular distributed version control system. In the hope, that more Java developers may want to explore the world of easy branching, merging and patch management, I'd like to inform you, that a beta version of the upcoming Eclipse GIT plugin is available: http://www.infoq.