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: http://wiki.apache.org/s

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 attem

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

Re: KeywordTokenizerFactory and stopwords

2011-06-08 Thread Matt Mitchell
#x27;t already 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

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 tr

Re: Solr throwing exception when evicting from filterCache

2011-03-24 Thread Matt Mitchell
6) 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,

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 [lorg.apache.solr.common.util.concurrentlruca

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

Re: api key filtering

2011-01-22 Thread Matt Mitchell
mber, it can be increased. See MaxBooleanClauses > in solrconfig.xml > > This shouldn't be a problem with 2K clauses, but expanding it to tens of > thousands is probably a mistake (but test to be sure). > > Best > Erick > > On Sat, Jan 22, 2011 at 3:50 PM, Matt Mitch

Re: api key filtering

2011-01-22 Thread Matt Mitchell
good idea to learn from your own mistakes. It is usually a > better > idea to learn from others’ mistakes, so you do not have to make them > yourself. > from 'http://blogs.techrepublic.com.com/security/?p=4501&tag=nl.e036' > > > EARTH has a Right To Life, > otherwise

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: snapshot-4.0 and maven

2010-10-19 Thread Matt Mitchell
m=true > > @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

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 rang

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 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 have an index of > > tha

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 docume

Re: dynamic "stop" words?

2010-10-12 Thread Matt Mitchell
; Doc 2 > name => "Holiday Inn,  Denver" > name_search => "Holiday Inn" > city => "Denver" > > Jonathan > > > From: Matt Mitchell [goodie...@gmail.com] > Sent: Tuesday, October 12, 2010 9:24 AM > To:

Re: dynamic "stop" words?

2010-10-12 Thread Matt Mitchell
Hth, > Geert-Jan > > 2010/10/9 Otis Gospodnetic > >> Matt, >> >> The first thing that came to my mind is that this might be interesting to >> try >> with a dictionary (of city names) if this example is not a made-up one. >> >> >> Otis &g

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

Re: case-insensitive phrase query for string fields

2010-10-08 Thread Matt Mitchell
want one field of many to behave that way.  But for a single >> field query (in an fq, or as the only field in a standard query parser q), >> the "field" defType will do it. Although now I'm wondering if there is a way >> to trick a StrField into doing that. >

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: So if I index a doc with a title of "Golden Master", then I'd expect a query of q=title:"golden master" to work, but no go... I know I must be missi

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 add

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
Sematext -- http://sematext.com/ -- Solr - Lucene - Nutch > > > > - Original Message > > From: Matt Mitchell > > To: solr-user@lucene.apache.org > > Sent: Fri, January 22, 2010 9:44:03 AM > > Subject: Re: solr with tomcat in cluster mode > >

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 functi

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 r

Re: java heap space error when faceting

2010-01-16 Thread Matt Mitchell
, Jan 16, 2010 at 11:13 AM, Yonik Seeley wrote: > On Sat, Jan 16, 2010 at 11:04 AM, Matt Mitchell > 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: 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 wrote: > On Sat, Jan 16, 2010 at 10:01 AM, Matt Mitchell > wrote: > > I have an ind

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, until

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: http://git

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,

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 > wrote: > > > Is there any reason the XMLWriter is declared as final? I'd like to > extend > > i

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
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 wrote: > 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 using the shards syntax

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 retur

Re: response issues with ruby and json

2009-08-23 Thread Matt Mitchell
ition > though - there has never been any guarantee about the order that these > come back in, and additional ones could be added as default parameters > for example. > > -Yonik > http://www.lucidimagination.com > > > > On Thu, Aug 20, 2009 at 10:54 PM, Matt Mitch

response issues with ruby and json

2009-08-20 Thread Matt Mitchell
Hi, I was using the spellcheck component a while ago and noticed that parts of the response are hashes, that use duplicate keys. This is the issue here: http://issues.apache.org/jira/browse/SOLR-1071 Also, the facet/facet_fields response is a hash, where the keys are field names. This is mostly f

Re: Using DirectConnection or EmbeddedSolrServer, within a component

2009-07-13 Thread Matt Mitchell
Jul 11, 2009 at 2:00 AM, Matt Mitchell > wrote: > > > > > 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 a

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 fie

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 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 peoples' o

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 here&qf=title^0.5 author^0.1 http://wiki.apache.org/solr/DisMaxRequestHandler#head-af452050ee272a1c88e2ff89dc0012049e69e180 Matt On S

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: term vectors

2009-05-27 Thread Matt Mitchell
I've been experimenting with the XML + Solr combo too. What I've found to be a good working solution is to: pick out the nodes you want as solr documents (every div1 or div2 etc.) index the text only (with lots of metadata fields) add a field for either the xpath to that node, or save the indivi

Re: grouping response docs together

2009-05-26 Thread Matt Mitchell
ponents to help you detect near-duplicates, and you > should be able to write a custom near-dupe detection component and plug it > in. > > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > - Original Message > > From: Matt Mit

Re: grouping response docs together

2009-05-26 Thread Matt Mitchell
))); [javac] ^ [javac] 1 error Matt On Mon, May 25, 2009 at 7:59 PM, Matt Mitchell 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 >

Re: grouping response docs together

2009-05-25 Thread Matt Mitchell
mas Traeger wrote: > 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: > > T

Re: highlighting performance

2009-05-25 Thread Matt Mitchell
Lucene - Solr - Nutch > > > > - Original Message > > From: Matt Mitchell > > To: solr-user@lucene.apache.org > > Sent: Friday, May 15, 2009 5:08:23 PM > > Subject: highlighting performance > > > > Hi, > > > > I'm experimentin

Re: grouping response docs together

2009-05-25 Thread Matt Mitchell
m/ -- Lucene - Solr - Nutch > > > > - Original Message > > From: Matt Mitchell > > 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 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

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 o

Re: field type for serialized code?

2009-04-29 Thread Matt Mitchell
u using REXML? Or libxml? I'm assuming this is from a Solr/Ruby > (RSolr?) API call to add the document. > >Erik > > > On Apr 28, 2009, at 9:12 PM, Matt Mitchell wrote: > > Hi, >> >> I'm attempting to serialize a simple ruby object into a solr.

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

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 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 /electron

Re: highlighting html content

2009-04-28 Thread Matt Mitchell
f 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 Mitchell >

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

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 wrote: > > Hi, > > > > I'm storing some raw xml in solr (stored and non-tokenized). I'd like > > to > > highlight hits in the response, obviou

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: 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 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 application woul

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 wrote: > Hello, > > I'm using the March 18th 1.4 nightly, and I can't get a dismax query > to return results. T

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: http://wiki.apache.org/solr/DisMaxRequest

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 sol

Re: solr and tomcat

2009-03-03 Thread Matt Mitchell
> That way if something 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, >> >&

Re: solr and tomcat

2009-03-03 Thread Matt Mitchell
Matthew Runo > Software Engineer, Zappos.com > mr...@zappos.com - 702-943-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... >> >>

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 Solr

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 wrote: > (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... > > https://issues.

ruby client - new code base, feedback anyone?

2008-12-11 Thread Matt Mitchell
h examples. More tests and rdocs are at the top of the todo. Please feel free to express your ideas and/or opinions about the new code! Matt Mitchell

Re: strange difference between json and xml responses

2008-12-09 Thread Matt Mitchell
t;. > The json writers may be less 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

Re: strange difference between json and xml responses

2008-12-09 Thread Matt Mitchell
quot;. > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > - Original Message > > From: Matt Mitchell <[EMAIL PROTECTED]> > > To: solr-user@lucene.apache.org > > Sent: Tuesday, December 9, 2008 2:08:43 PM > >

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,

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 <[EM

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: 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 &

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: 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#

Re: populating a spellcheck dictionary

2008-10-09 Thread Matt Mitchell
> > solr.FileBasedSpellChecker > file > spellings.txt > UTF-8 > ./spellcheckerFile > > > > The first two are index based. > > The spell field for the example is: >multiValued="true"/> > > HTH, > Grant > >

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

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

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 Car

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 s

Re: search for non empty field

2008-03-31 Thread Matt Mitchell
though - check the archives. > > Erik > > > On Mar 30, 2008, 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: > > > >>

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

Re: Using Ruby to POST to Solr

2007-09-11 Thread Matt Mitchell
gt; "") 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 wor

Re: Using Ruby to POST to Solr

2007-09-11 Thread Matt Mitchell
from stdin. The contents of the file must 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

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 command

Re: solr/home

2007-09-06 Thread Matt Mitchell
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 fragment files. I deploy using the tomcat web manager. In the context fragment I set the environment variable solr/home.

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: Can't get 1.2 running under Tomcat 5.5

2007-09-05 Thread Matt Mitchell
t 11:25 AM, Matt Mitchell wrote: Hi, I'm having no luck getting Solr 1.2 to run under Tomcat 5.5 using context fragments. I've followed the example on wiki: http://wiki.apache.org/solr/SolrTomcat The only thing I've changed is the installation method. I'm using the Tomc

Can't get 1.2 running under Tomcat 5.5

2007-09-05 Thread Matt Mitchell
Hi, I'm having no luck getting Solr 1.2 to run under Tomcat 5.5 using context fragments. I've followed the example on wiki: http://wiki.apache.org/solr/SolrTomcat The only thing I've changed is the installation method. I'm using the Tomcat manager to create a context path, and also point to

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 ha

Delete entire index

2007-06-13 Thread Matt Mitchell
Hi, Is there a way to have Solr completely remove the current index? ? 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 the solr weba

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 t

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 , Solr is returning

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 , Solr is returning a status 1 with this error at the top: java.io.EOFException: input contained no data Doe