TZ parameter

2013-07-07 Thread Matt Mitchell
Hi, I'm a little stumped on the TZ param for running a date range query. I've indexed a single doc with a dateTime field value as 2013-07-08T00:00:00Z. My query is basically this: ?q=date_dt:[* TO 2013-07-07T23:00:00Z]TZ=America/New_York From what I'm seeing here:

solr home in jar?

2012-07-17 Thread Matt Mitchell
Hi, I'd like to bundle up a jar file, with a complete solr home and index. This jar file is a dependency for another application, which uses an instance of embedded solr, multi-core. Is there any way to have the application's embedded solr, read the configs/index data from jar dependency? I

solr geospatial / spatial4j

2012-03-07 Thread Matt Mitchell
Hi, I'm researching options for handling a better geospatial solution. I'm currently using Solr 3.5 for a read-only database, and the point/radius searches work great. But I'd like to start doing point in polygon searches as well. I've skimmed through some of the geospatial jira issues, and read

KeywordTokenizerFactory and stopwords

2011-06-08 Thread Matt Mitchell
Hi, I have an autocomplete fieldType that works really well, but because the KeywordTokenizerFactory (if I understand correctly) is emitting a single token, the stopword filter will not detect any stopwords. Anyone know of a way to strip out stopwords when using KeywordTokenizerFactory? I did try

Re: KeywordTokenizerFactory and stopwords

2011-06-08 Thread Matt Mitchell
exist.  With something like that you could have a standard tokenization chain, and put it all back together at the end.        Erik On Jun 8, 2011, at 10:59 , Matt Mitchell wrote: Hi, I have an autocomplete fieldType that works really well, but because the KeywordTokenizerFactory (if I

Solr throwing exception when evicting from filterCache

2011-03-24 Thread Matt Mitchell
I have a recent build of solr (4.0.0.2011.02.25.13.06.24). I am seeing this error when making a request (with fq's), right at the point where the eviction count goes from 0 up: severe: java.lang.classcastexception: [ljava.lang.object; cannot be cast to

Re: Solr throwing exception when evicting from filterCache

2011-03-24 Thread Matt Mitchell
) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) at org.mortbay.jetty.handler.ContextHandlerCollection.h On Thu, Mar 24, 2011 at 1:54 PM, Matt

embedded solr and tomcat

2011-02-19 Thread Matt Mitchell
I'm considering running an embedded instance of Solr in Tomcat (Amazon's beanstalk). Has anyone done this before? I'd be very interested in how I can instantiate Embedded solr in Tomcat. Do I need a resource loader to instantiate? If so, how? Thanks, Matt

api key filtering

2011-01-22 Thread Matt Mitchell
Just wanted to see if others are handling this in some special way, but I think this is pretty simple. We have a database of api keys that map to allowed db records. I'm planning on indexing the db records into solr, along with their api keys in an indexed, non-stored, multi-valued field. Then,

Re: api key filtering

2011-01-22 Thread Matt Mitchell
From: Matt Mitchell goodie...@gmail.com To: solr-user@lucene.apache.org Sent: Sat, January 22, 2011 11:48:22 AM Subject: api key filtering Just wanted to see if others are handling this in some special way, but I think this is pretty simple. We have a database of api keys that map to allowed

Re: api key filtering

2011-01-22 Thread Matt Mitchell
to be sure). Best Erick On Sat, Jan 22, 2011 at 3:50 PM, Matt Mitchell goodie...@gmail.com wrote: Hey thanks I'll definitely have a read. The only problem with this though, is that our api is a thin layer of app-code, with solr only (no db), we index data from our sql db into solr

Re: snapshot-4.0 and maven

2010-10-19 Thread Matt Mitchell
@tommychheng On 10/18/10 7:28 PM, Matt Mitchell wrote: I'd like to get solr snapshot-4.0 pushed into my local maven repo. Is this possible to do? If so, could someone give me a tip or two on getting started? Thanks, Matt

snapshot-4.0 and maven

2010-10-18 Thread Matt Mitchell
I'd like to get solr snapshot-4.0 pushed into my local maven repo. Is this possible to do? If so, could someone give me a tip or two on getting started? Thanks, Matt

using score to find high confidence duplicates

2010-10-13 Thread Matt Mitchell
I have a solr index full of documents that contain lots of duplicates. The duplicates are not exact duplicates though. Each may vary slightly in content. After indexing, I have a bit of code that loops through the entire index just to get what I'm calling target documents. For each target

Re: dynamic stop words?

2010-10-13 Thread Matt Mitchell
Great, thanks Hoss. I'll try dismax out today and see what happens with this. Matt On Tue, Oct 12, 2010 at 7:35 PM, Chris Hostetter hossman_luc...@fucit.org wrote: : Is it possible to have certain query terms not effect score, if that : same query term is present in a field? For example, I

Re: using score to find high confidence duplicates

2010-10-13 Thread Matt Mitchell
No this isn't the MLT, just the standard query parser for now. I did try the heuristic approach and I might stick with that actually. I ran the process on known duplicates and created a collection of all scores. I was then able to see how well the query worked. The scores seemed focused to one

Re: dynamic stop words?

2010-10-12 Thread Matt Mitchell
-up one. Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message From: Matt Mitchell goodie...@gmail.com To: solr-user@lucene.apache.org Sent: Fri, October 8, 2010 11:22:36 AM Subject

Re: dynamic stop words?

2010-10-12 Thread Matt Mitchell
From: Matt Mitchell [goodie...@gmail.com] Sent: Tuesday, October 12, 2010 9:24 AM To: solr-user@lucene.apache.org Subject: Re: dynamic stop words? Thanks for the feedback. I thought about stop words but since I have a lot of documents spanning lots of different

Re: case-insensitive phrase query for string fields

2010-10-08 Thread Matt Mitchell
if there is a way to trick a StrField into doing that. From: Matt Mitchell [goodie...@gmail.com] Sent: Thursday, October 07, 2010 10:53 PM To: solr-user@lucene.apache.org Subject: case-insensitive phrase query for string fields What's the recommended approach

dynamic stop words?

2010-10-08 Thread Matt Mitchell
Is it possible to have certain query terms not effect score, if that same query term is present in a field? For example, I have an index of hotels. Each hotel has a name and city. If the name of a hotel has the name of the city in it's name field, I want to completely ignore that and not have it

case-insensitive phrase query for string fields

2010-10-07 Thread Matt Mitchell
What's the recommended approach for handling case-insensitive phrase queries? I've got this setup, but no luck: fieldType name=ci_string class=solr.StrField analyzer filter class=solr.LowerCaseFilterFactory/ tokenizer class=solr.KeywordTokenizerFactory/ /analyzer

Re: clustering component

2010-08-12 Thread Matt Mitchell
Hey thanks Stanislaw! I'm going to try this against the current trunk tonight and see what happens. Matt On Wed, Jul 28, 2010 at 8:41 AM, Stanislaw Osinski stanislaw.osin...@carrotsearch.com wrote: The patch should also work with trunk, but I haven't verified it yet. I've just added a

clustering component

2010-07-27 Thread Matt Mitchell
Hi, I'm attempting to get the carrot based clustering component (in trunk) to work. I see that the clustering contrib has been disabled for the time being. Does anyone know if this will be re-enabled soon, or even better, know how I could get it working as it is? Thanks, Matt

Re: solr with tomcat in cluster mode

2010-01-22 Thread Matt Mitchell
We have a similar setup and I'd be curious to see how folks are doing this as well. Our setup: A few servers and an F5 load balancer. Each Solr instance points to a shared index. We use a separate server for indexing. When the index is complete, we do some juggling using the Core Admin SWAP

Re: solr with tomcat in cluster mode

2010-01-22 Thread Matt Mitchell
- Original Message From: Matt Mitchell goodie...@gmail.com To: solr-user@lucene.apache.org Sent: Fri, January 22, 2010 9:44:03 AM Subject: Re: solr with tomcat in cluster mode We have a similar setup and I'd be curious to see how folks are doing this as well. Our setup

Re: Solr - data flattening

2010-01-17 Thread Matt Mitchell
Can you post a few examples of your source data? What kinds of relationships are you having to deal with? If you want to retain a link to the source then that's pretty simple (field for the file, url etc.). If your relationships will be between the Solr documents themselves, then I think you'd

java heap space error when faceting

2010-01-16 Thread Matt Mitchell
I have an index with more than 6 million docs. All is well, until I turn on faceting and specify a facet.field. There is only about unique 20 values for this particular facet throughout the entire index. I was able to make things a little better by using facet.method=enum. That seems to work,

Re: java heap space error when faceting

2010-01-16 Thread Matt Mitchell
These are single valued fields. Strings and integers. Is there more specific info I could post to help diagnose what might be happening? Thanks! Matt On Sat, Jan 16, 2010 at 10:42 AM, Yonik Seeley yo...@lucidimagination.comwrote: On Sat, Jan 16, 2010 at 10:01 AM, Matt Mitchell goodie

Re: java heap space error when faceting

2010-01-16 Thread Matt Mitchell
16, 2010 at 11:13 AM, Yonik Seeley yo...@lucidimagination.comwrote: On Sat, Jan 16, 2010 at 11:04 AM, Matt Mitchell goodie...@gmail.com wrote: These are single valued fields. Strings and integers. Is there more specific info I could post to help diagnose what might be happening? Faceting

Re: Getting solr response data in a JS query

2010-01-11 Thread Matt Mitchell
I remember having a difficult time getting jquery to work as I thought it would. Something to do with the wt. I ended up creating a little client lib. Maybe this will be useful in finding your problem? example: http://github.com/mwmitchell/get_rest/blob/master/solr_example.html lib:

Re: why is XMLWriter declared as final?

2009-11-25 Thread Matt Mitchell
OK thanks Shalin. Matt On Wed, Nov 25, 2009 at 8:48 AM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Wed, Nov 25, 2009 at 3:33 AM, Matt Mitchell goodie...@gmail.com wrote: Is there any reason the XMLWriter is declared as final? I'd like to extend it for a special case

Re: why is XMLWriter declared as final?

2009-11-25 Thread Matt Mitchell
Interesting. Well just to clarify my intentions a bit, I'll quickly explain what I was trying to do. I'm using the MLT component but because some of my stored fields are really big, I don't need (or want) all of the fields for my MLT docs in the response. I want my MLT docs to have only 2 fields,

why is XMLWriter declared as final?

2009-11-24 Thread Matt Mitchell
Is there any reason the XMLWriter is declared as final? I'd like to extend it for a special case but can't. The other writers (ruby, php, json) are not final. Thanks, Matt

Re: multicore and ruby

2009-09-09 Thread Matt Mitchell
Hey Paul, In rsolr, you could use the #request method to set a request handler path: solr.request('/core1/select', :q='*:*') Alternatively, (rsolr and solr-ruby) you could probably handle this by creating a new instance of a connection object per-core, and then have some kind of factory to

Re: multicore and ruby

2009-09-09 Thread Matt Mitchell
Yep same thing in rsolr and just use the :shards param. It'll return whatever solr returns. Matt On Wed, Sep 9, 2009 at 4:17 PM, Paul Rosen p...@performantsoftware.comwrote: Hi Erik, Yes, I've been doing that in my tests, but I also have the case of wanting to do a search over all the cores

Re: response issues with ruby and json

2009-08-23 Thread Matt Mitchell
Thanks Yonik. Yeah the additional facet fields being added by the client do make it a little more complicated. Matt On Sun, Aug 23, 2009 at 12:47 PM, Yonik Seeley yo...@lucidimagination.comwrote: The spellcheck issue needs to be resolved. It doesn't seem like a good idea to access

Using DirectConnection or EmbeddedSolrServer, within a component

2009-07-10 Thread Matt Mitchell
Hi, I'm experimenting with Solr components. I'd like to be able to use a nice-high-level querying interface like the DirectSolrConnection or EmbeddedSolrServer provides. Would it be considered absolutely insane to use one of those *within a component* (using the same core instance)? Matt

Re: Indexing XML

2009-07-07 Thread Matt Mitchell
Saeli, Solr expects a certain XML structure when adding documents. You'll need to come up with a mapping, that translates the original structure to one that solr understands. You can then search solr and get those solr documents back. If you want to keep the original XML, you can store it in a

transforming an XML field using the XSL tr param

2009-07-01 Thread Matt Mitchell
I know you can transform Solr document fields, but is it possible to have Solr transform XML that might be embedded (as a string) in a field? Matt

Re: [OT] New Book: Search User Interfaces

2009-06-28 Thread Matt Mitchell
This is great! Thanks for this. Matt On Mon, Jun 29, 2009 at 12:30 AM, Ian Holsman li...@holsman.net wrote: not directly related to SOLR I know.. but I think most people would find it interesting. http://searchuserinterfaces.com/book/ from the preface: Search is an integral part of

Re: are there any good samples / tutorials on making queries facets ?

2009-06-20 Thread Matt Mitchell
Yeah the lucid imagination articles are great! Jonathan, you can also use the dismax query parser and apply boosts using the qf (query fields) param: q=my query hereqf=title^0.5 author^0.1 http://wiki.apache.org/solr/DisMaxRequestHandler#head-af452050ee272a1c88e2ff89dc0012049e69e180 Matt On

moreLikeThis fl

2009-06-16 Thread Matt Mitchell
I'd like to have a MLT query return similar docs, but the fl for those mlt docs should be different from the main fl. For example, the main fl is *, score -- but I only want the title and id in my MLT results. Is this possible? Matt

Re: grouping response docs together

2009-05-26 Thread Matt Mitchell
] ^ [javac] 1 error Matt On Mon, May 25, 2009 at 7:59 PM, Matt Mitchell goodie...@gmail.com wrote: Hi Thomas, In a 5-24-09 nightly build, I applied the patch: cd apache-solr-nightly patch -p0 ~/Projects/apache-solr-patches/SOLR-236_collapsing.patch patching file src/common/org

Re: grouping response docs together

2009-05-26 Thread Matt Mitchell
near-dupe detection component and plug it in. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Matt Mitchell goodie...@gmail.com To: solr-user@lucene.apache.org Sent: Monday, May 25, 2009 3:30:42 PM Subject: Re: grouping response

Re: grouping response docs together

2009-05-25 Thread Matt Mitchell
From: Matt Mitchell goodie...@gmail.com To: solr-user@lucene.apache.org Sent: Friday, May 15, 2009 6:52:48 PM Subject: grouping response docs together Is there a built-in mechanism for grouping similar documents together in the response? I'd like to make it look like there is only one

Re: highlighting performance

2009-05-25 Thread Matt Mitchell
otis_gospodne...@yahoo.com wrote: Matt, I believe indexing those fields that you will use for highlighting with term vectors enabled will make things faster (and your index a bit bigger). Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Matt

Re: grouping response docs together

2009-05-25 Thread Matt Mitchell
: Hello Matt, the patch should work with trunk and after a small fix with 1.3 too (see my comment in SOLR-236). I just made a successful build to be sure. Do you see any error messages? Thomas Matt Mitchell schrieb: Thanks guys. I looked at the dedup stuff, but the documents I'm adding

highlighting performance

2009-05-15 Thread Matt Mitchell
Hi, I'm experimenting with highlighting and am noticing a big drop in performance with my setup. I have documents that use quite a few dynamic fields (20-30). The fields are multiValued stored/indexed text fields, each with a few paragraphs worth of text. My hl.fl param is set to *_t What kinds

grouping response docs together

2009-05-15 Thread Matt Mitchell
Is there a built-in mechanism for grouping similar documents together in the response? I'd like to make it look like there is only one document with multiple hits. Matt

Re: highlighting html content

2009-04-28 Thread Matt Mitchell
of the html/xml problem (highlighting inside of the tag), I'd be interested in seeing your and others approach to this, even if it's a regular expression. Matt On Tue, Apr 28, 2009 at 3:21 AM, Christian Vogler christian.vog...@gmail.com wrote: Hi Matt, On Tue, Apr 28, 2009 at 4:24 AM, Matt

Re: Can we provide context dependent faceted navigation from SOLR search results

2009-04-28 Thread Matt Mitchell
Wow, this looks great. Thanks for this Koji! Matt On Tue, Apr 28, 2009 at 12:13 PM, Koji Sekiguchi k...@r.email.ne.jp wrote: Thanh Doan wrote: Assuming a solr search returns 10 listing items as below 1) 4 digital cameras 2) 4 LCD televisions 3) 2 clothing items If we navigate to

field type for serialized code?

2009-04-28 Thread Matt Mitchell
Hi, I'm attempting to serialize a simple ruby object into a solr.StrField - but it seems that what I'm getting back is munged up a bit, in that I can't de-serialize it. Is there a field type for doing this type of thing? Thanks, Matt

highlighting html content

2009-04-27 Thread Matt Mitchell
Hi, I've been looking around but can't seem to find any clear instruction on how to do this... I'm storing html content and would like to enable highlighting on the html content. The problem is that the search can sometimes match html element names or attributes, and when the highlighter adds the

storing xml - how to highlight hits in response?

2009-04-23 Thread Matt Mitchell
Hi, I'm storing some raw xml in solr (stored and non-tokenized). I'd like to highlight hits in the response, obviously this is problematic as the highlighting elements are also xml. So if I match an attribute value or tag name, the xml response is messed up. Is there a way to highlight only text,

Re: storing xml - how to highlight hits in response?

2009-04-23 Thread Matt Mitchell
Yeah great idea, thanks. Does anyone know if there is code out there that will do this sort of thing? Matt On Thu, Apr 23, 2009 at 3:23 PM, Ensdorf Ken ensd...@zoominfo.com wrote: Hi, I'm storing some raw xml in solr (stored and non-tokenized). I'd like to highlight hits in the

Re: Solr webinar

2009-04-20 Thread Matt Mitchell
Thanks Erik! Looking forward to it. Matt On Mon, Apr 20, 2009 at 11:00 AM, ahammad ahmed.ham...@gmail.com wrote: Hello Erik, I'm interested in attending the Webinar. I just have some questions to verify whether or not I am fit to attend... 1) How will it be carried out? What software or

Re: dismax query not working with 1.4

2009-03-26 Thread Matt Mitchell
Do you have qf set? Just last week I had a problem where no results were coming back, and it turned out that my qf param was empty. Matt On Thu, Mar 26, 2009 at 2:30 PM, Ben Lavender blaven...@gmail.com wrote: Hello, I'm using the March 18th 1.4 nightly, and I can't get a dismax query to

Re: Tomcat5 + Solr. Problems in deploying the Webapp

2009-03-04 Thread Matt Mitchell
Hi, Have you looked at this page: http://wiki.apache.org/solr/SolrTomcat It almost sounds like you're deploying twice? Putting the solr.war in webapps would be one way, and the other would be a context config file + using the web manager. If you're using the config/context, then don't put the

Re: Column Specific Query with q parameter

2009-03-04 Thread Matt Mitchell
The syntax for the q param when using dismax is different from standard. Check this out: http://wiki.apache.org/solr/DisMaxRequestHandler#head-df8184dddf870336839490ba276ea6ac566d0bdf q.alt under dismax is parsed using the standard query parser though:

Re: solr and tomcat

2009-03-03 Thread Matt Mitchell
-7833 On Mar 2, 2009, at 5:46 PM, Matt Mitchell wrote: Hi. I'm sorry if this is the second time this message comes through! A few questions here... #1 Does anyone know how to set the user/group and/or permissions on the index that solr creates? It's always the tomcat user. Is it possible

Re: solr and tomcat

2009-03-03 Thread Matt Mitchell
goes bad in one, it doesn't affect the others. Thanks for your time! Matthew Runo Software Engineer, Zappos.com mr...@zappos.com - 702-943-7833 On Mar 3, 2009, at 8:39 AM, Matt Mitchell wrote: Hi Matthew, The problem is that we have multiple instances of solr running under one tomcat. So

solr and tomcat

2009-03-02 Thread Matt Mitchell
Hi. I'm sorry if this is the second time this message comes through! A few questions here... #1 Does anyone know how to set the user/group and/or permissions on the index that solr creates? It's always the tomcat user. Is it possible to change this in my context file? Help! #2 I'm deploying

Re: [ANNOUNCE] Solr Logo Contest Results

2008-12-17 Thread Matt Mitchell
Love it! Congratulations Michiel. Matt On Wed, Dec 17, 2008 at 9:15 PM, Chris Hostetter hossman_luc...@fucit.orgwrote: (replies to solr-user please) On behalf of the Solr Committers, I'm happy to announce that we the Solr Logo Contest is officially concluded. (Woot!) And the Winner Is...

strange difference between json and xml responses

2008-12-09 Thread Matt Mitchell
Hi, A while ago, we had a field called word which was used as a spelling field. We switched this to spell. When querying our solr instance with just q=*:*, we get back the expected results. When querying our solr instance with q=*:*wt=json, we get this (below). When setting the qt to dismax, the

Re: strange difference between json and xml responses

2008-12-09 Thread Matt Mitchell
- Original Message From: Matt Mitchell [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Tuesday, December 9, 2008 2:08:43 PM Subject: strange difference between json and xml responses Hi, A while ago, we had a field called word which was used as a spelling field. We

Re: strange difference between json and xml responses

2008-12-09 Thread Matt Mitchell
tolerant when encountering a field that is not known. We should perhaps change the json/text based writers to handle this case gracefully also. -Yonik On Tue, Dec 9, 2008 at 5:18 PM, Matt Mitchell [EMAIL PROTECTED] wrote: Actually, the dismax thing was a bad example. So, forget about the qt

admin/luke and EmbeddedSolrServer

2008-12-01 Thread Matt Mitchell
Is it possible to send a request to admin/luke using the EmbeddedSolrServer?

Re: solr-ruby gem

2008-11-18 Thread Matt Mitchell
I've been using solr-ruby with 1.3 for quite a while now. It's powering our experimental, open-source OPAC, Blacklight: blacklight.rubyforge.org I've got a custom query builder and response wrapper, but it's using solr-ruby underneath. Matt On Tue, Nov 18, 2008 at 2:57 PM, Erik Hatcher [EMAIL

questions about Solr connection methods

2008-11-14 Thread Matt Mitchell
I'm implementing connection adapters in ruby/jruby and wondering how all of the different solr connection classes relate. Is the only difference between EmbeddedSolrServer and DirectSolrConnection, that EmbeddedSolrServer provides some higher level methods for adding, deleting etc.? Or is there

Question about CoreContainer

2008-11-03 Thread Matt Mitchell
Hi, i'm using CoreContainer in jRuby. I'd like my data directory to be the standard solr-home/data. But since CoreContainer == multi-core, I need to supply a core name. Is it possible to use CoreContainer without a core? is it possible to set the dataDir? Also, it seems that no matter what I set

Re: solr 1.3 - spellcheck doesn't seems to get any data?

2008-10-17 Thread Matt Mitchell
Did you send in a spellcheck.build=true ? Matt On Fri, Oct 17, 2008 at 7:31 AM, sunnyfr [EMAIL PROTECTED] wrote: Hi, How come I've nothing in my spellchercker directories : I've updated it but I'm started from an empty data directory and : [EMAIL PROTECTED]:/data/solr/video/data# ls

delete field from index

2008-10-17 Thread Matt Mitchell
Hi, I was using a field called word but have changed it to spell. Do I need to delete this field from the index and if so, how? I'm concerned because when I do a query like: ?q.alt=*:*qt=dismax I get an error saying the word field was not found. Matt

Re: delete field from index

2008-10-17 Thread Matt Mitchell
OK I figured it out. It's because my fl had * in it. So, I'm guessing a re-index will remove the word field for good? + Erik for the tip :) Matt On Fri, Oct 17, 2008 at 2:57 PM, Matt Mitchell [EMAIL PROTECTED] wrote: Hi, I was using a field called word but have changed it to spell. Do I

populating a spellcheck dictionary

2008-10-09 Thread Matt Mitchell
I'm starting to implement the new SpellCheckComponent. The solr 1.3 dist example is using a file based dictionary, but I'd like to figure out the best way to populate the dictionary from our index. Should the spellcheck field be multivalued? Thanks, Matt

Re: populating a spellcheck dictionary

2008-10-09 Thread Matt Mitchell
=true stored=true multiValued=true/ HTH, Grant On Oct 9, 2008, at 9:38 AM, Matt Mitchell wrote: I'm starting to implement the new SpellCheckComponent. The solr 1.3 dist example is using a file based dictionary, but I'd like to figure out the best way to populate the dictionary from our index

Spellchecker Question

2008-04-22 Thread Matt Mitchell
I'm using the Spellchecker handler but am a little confused. The docs say to run the cmd=rebuild when building the first time. Do I need to supply a q param with that cmd=rebuild? The examples show a url with the q param set while rebuilding, but the main section on the cmd param doesn't say much

Re: Installation help

2008-04-16 Thread Matt Mitchell
What does the Jetty log output say in the console after you start it? It should mention the port # on one of the last lines. If it does, try using curl or wget to do a local request: curl http://localhost:8983/solr/ wget http://localhost:8983/solr/ Matt On Wed, Apr 16, 2008 at 5:08 PM, Shawn

custom request handler; standard vs dismax

2008-04-01 Thread Matt Mitchell
Hi, I recently started playing with the dismax handler and custom request handlers. When using the solr.StandardRequestHandler class, I get the response that I want; lots of facet values. When I switch to the dismax class, I get none. I've posted my request handler definitions here. Am I missing

Re: search for non empty field

2008-03-31 Thread Matt Mitchell
, at 9:43 PM, Matt Mitchell wrote: I'm looking for the exact same thing. On Sun, Mar 30, 2008 at 8:45 PM, Ismail Siddiqui [EMAIL PROTECTED] wrote: Hi all, I have a situation where i have to filter result on a non empty field . wild card wont work as it will have to match

Re: search for non empty field

2008-03-30 Thread Matt Mitchell
I'm looking for the exact same thing. On Sun, Mar 30, 2008 at 8:45 PM, Ismail Siddiqui [EMAIL PROTECTED] wrote: Hi all, I have a situation where i have to filter result on a non empty field . wild card wont work as it will have to match with a letter. How can I form query to return result

Using Ruby to POST to Solr

2007-09-11 Thread Matt Mitchell
Hi, I just posted this to the ruby/google group. It probably belongs here! Also, anyone know exactly what the @ symbol in the curl command is doing? Thanks, Matt I've got a script that uses curl, and would like (for educational purposes mind you) to use ruby instead. This is the curl

Re: Using Ruby to POST to Solr

2007-09-11 Thread Matt Mitchell
already be url-encoded. Multiple files can also be specified. Posting data from a file named 'foobar' would thus be done with --data @foobar. On 9/11/07, Matt Mitchell [EMAIL PROTECTED] wrote: Hi, I just posted this to the ruby/google group. It probably belongs here! Also

Re: Using Ruby to POST to Solr

2007-09-11 Thread Matt Mitchell
) solr.commit solr.query(title) Visit us over on the [EMAIL PROTECTED] e-mail list for more on working with Solr from Ruby. Erik On Sep 11, 2007, at 10:55 AM, Matt Mitchell wrote: Hi Michael, Thanks for that. I've got something that's working now: data = File.read('my_solr_docs.xml

solr/home

2007-09-06 Thread Matt Mitchell
Hi, I recently upgraded to Solr 1.2. I've set it up through Tomcat using context fragment files. I deploy using the tomcat web manager. In the context fragment I set the environment variable solr/home. This use to work as expected. The solr/home value pointed to the directory where data,

Re: solr/home

2007-09-06 Thread Matt Mitchell
input. Matt On Sep 6, 2007, at 3:25 PM, Tom Hill wrote: It works for me. (fragments with solr 1.2 on tomcat 5.5.20) Could you post your fragment file? Tom On 9/6/07, Matt Mitchell [EMAIL PROTECTED] wrote: Hi, I recently upgraded to Solr 1.2. I've set it up through Tomcat using context

Updating index on cluster

2007-07-18 Thread Matt Mitchell
Hi, I'm currently working on an application which is living in a clustered server environment. There is a hardware based balancer, and each node in the cluster has a separate install of Solr. The application code and files are on a NFS mount, along with the solr/ home. The first node has

Delete entire index

2007-06-13 Thread Matt Mitchell
Hi, Is there a way to have Solr completely remove the current index? deleteAll/ ? We're still in development and so our schema is wavering. Anytime we make a change and want to re-index we first have to: stop tomcat (or the solr webapp) manually remove the data/index restart tomcat (or

Tomcat: The requested resource (/solr/update) is not available.

2007-06-12 Thread Matt Mitchell
Hi, I've got an app using Cocoon and Solr, both running through Tomcat. The post.sh file has been modified to grab local files, send it to Cocoon (via http), the Solr-fied xml from Cocoon is then sent to the update url in Tomcat/Solr. Not sure any of that is relevant though! I'm running

Commit failing with EOFException

2007-05-31 Thread Matt Mitchell
Hi, I've had this application running before and not sure what has changed to cause this error. When trying to do a clean update (removed index dir and restarted solr) with just a commit/, Solr is returning a status 1 with this error at the top: java.io.EOFException: input contained no

Re: Commit failing with EOFException

2007-05-31 Thread Matt Mitchell
waiting to be committed. Matt On May 31, 2007, at 11:42 AM, Matt Mitchell wrote: Hi, I've had this application running before and not sure what has changed to cause this error. When trying to do a clean update (removed index dir and restarted solr) with just a commit/, Solr is returning