Re: Updating Lucene/Solr home pages with news of the Solr book

2009-08-18 Thread Erik Hatcher
David, Best way to make this happen is to submit patches to the desired projects websites (and of course self add the book to the wiki spots too). And congrats on the book! I know it's a lot of work, more than one expects going into it. And the never ending Solr 1.4 release hasn't

Re: Response Writers and DocLists

2009-08-17 Thread Erik Hatcher
On Aug 17, 2009, at 6:59 PM, Ryan McKinley wrote: Also with adding a meta field, I'm not sure I like that it is a double object like: doc.get( _meta_ ).get( distance) It'd be more like: doc.getMeta().get(distance), at least. And doc.get(distance) could be made to fetch first the main

[jira] Commented: (SOLR-1365) Add configurable Sweetspot Similarity factory

2009-08-17 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744306#action_12744306 ] Erik Hatcher commented on SOLR-1365: Sweet! :) Very nice use of the SimilarityFactory

[jira] Commented: (SOLR-1365) Add configurable Sweetspot Similarity factory

2009-08-17 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744309#action_12744309 ] Erik Hatcher commented on SOLR-1365: bq. I took a brief look at the patch, the only

CharFilter, analysis.jsp

2009-08-17 Thread Erik Hatcher
I'm interested in using a CharFilter, something like this: fieldType name=html_text class=solr.TextField analyzer charFilter class=solr.HTMLStripCharFilterFactory/ tokenizer class=solr.WhitespaceTokenizerFactory/ /analyzer /fieldType In hopes of being able to

[jira] Commented: (SOLR-868) Prepare solrjs trunk to be integrated into contrib

2009-08-12 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12742588#action_12742588 ] Erik Hatcher commented on SOLR-868: --- There's already some of my own personal book data

testing

2009-08-11 Thread Erik Hatcher
I'm rejiggering my list subscriptions and checking to see if this comes through. Erik

[jira] Commented: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-08-05 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12739424#action_12739424 ] Erik Hatcher commented on SOLR-1229: Do you have a failing test case? deletedPkQuery

[jira] Resolved: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-08-04 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher resolved SOLR-1229. Resolution: Fixed deletedPkQuery feature does not work when pk and uniqueKey field do not have

[jira] Updated: (SOLR-839) XML Query Parser support

2009-08-04 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher updated SOLR-839: -- Fix Version/s: (was: 1.4) 1.5 Assignee: (was: Erik Hatcher) Marking

[jira] Commented: (SOLR-1332) Escape spaces in URLs in URLDataSource

2009-08-04 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12739311#action_12739311 ] Erik Hatcher commented on SOLR-1332: Just escaping spaces isn't good enough, though

[jira] Resolved: (SOLR-1323) XPathEntityProcessor's $hasMore feature should reset when fetching the next URL

2009-08-03 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher resolved SOLR-1323. Resolution: Fixed Committed. Thanks for the tweak, Noble. XPathEntityProcessor's $hasMore

[jira] Created: (SOLR-1317) CapitalizationFilterFactory NPEs when keep parameter not specified

2009-07-31 Thread Erik Hatcher (JIRA)
Components: Analysis Affects Versions: 1.3 Reporter: Erik Hatcher Assignee: Erik Hatcher Fix For: 1.4 When keep parameter not specified: java.lang.NullPointerException at org.apache.solr.analysis.CapitalizationFilterFactory.processWord

[jira] Resolved: (SOLR-1317) CapitalizationFilterFactory NPEs when keep parameter not specified

2009-07-31 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher resolved SOLR-1317. Resolution: Fixed Fix committed to r799593 CapitalizationFilterFactory NPEs when keep parameter

[jira] Created: (SOLR-1320) CapitalizationFilterFactory's minWordLength not working properly

2009-07-31 Thread Erik Hatcher (JIRA)
Components: Analysis Affects Versions: 1.4 Reporter: Erik Hatcher To see the problem first hand, add to schema.xml: fieldType name=cap class=solr.TextField positionIncrementGap=100 analyzer tokenizer class=solr.StandardTokenizerFactory/ filter class

[jira] Updated: (SOLR-1320) CapitalizationFilterFactory's minWordLength not working properly

2009-07-31 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher updated SOLR-1320: --- Description: To see the problem first hand, add to schema.xml: {code:xml} fieldType name=cap class

[jira] Assigned: (SOLR-1320) CapitalizationFilterFactory's minWordLength not working properly

2009-07-31 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher reassigned SOLR-1320: -- Assignee: Erik Hatcher CapitalizationFilterFactory's minWordLength not working properly

[jira] Updated: (SOLR-1320) CapitalizationFilterFactory's minWordLength not working properly

2009-07-31 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher updated SOLR-1320: --- Attachment: SOLR-1320.patch This patch fixes the case mentioned. I'll commit in a day or so unless

DIH and UpdateRequestProcessor#finish

2009-07-31 Thread Erik Hatcher
Shouldn't DIH, I presume in either SolrWriter or DataImportHandler, call processor.finish()? Maybe DataImportHandler should subclass ContentStreamHandlerBase, which calls #finish already. This would mean we implement a new ContentStreamLoader. This would allow DIH to hand the streams off

Re: DIH and UpdateRequestProcessor#finish

2009-07-31 Thread Erik Hatcher
ContentStreamHandlerBase and doing the work in ContentStreamHandlerBase#load seems the best way to go. Mainly I was just curious about UpdateRequestProcessor#finish though, which DIH currently does not call (that I see). Erik On Jul 31, 2009, at 9:26 PM, Erik Hatcher wrote: Shouldn't DIH, I

[jira] Created: (SOLR-1323) XPathEntityProcessor's $hasMore feature should reset when fetching the next URL

2009-07-31 Thread Erik Hatcher (JIRA)
Issue Type: Bug Components: contrib - DataImportHandler Reporter: Erik Hatcher Assignee: Erik Hatcher Fix For: 1.4 See http://www.lucidimagination.com/search/document/4e266fd420ae5826/dataimporthandler_xpathentityprocessor_hasmore_infinite_loop

[jira] Updated: (SOLR-1323) XPathEntityProcessor's $hasMore feature should reset when fetching the next URL

2009-07-31 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher updated SOLR-1323: --- Attachment: SOLR-1323.patch simple patch to simply set $hasMore to false once it is processed

[jira] Created: (SOLR-1324) Persisting update processor

2009-07-31 Thread Erik Hatcher (JIRA)
Persisting update processor --- Key: SOLR-1324 URL: https://issues.apache.org/jira/browse/SOLR-1324 Project: Solr Issue Type: New Feature Components: update Reporter: Erik Hatcher

DataImportHandler, XPathEntityProcessor, $hasMore, infinite loop

2009-07-29 Thread Erik Hatcher
I've been troubleshooting an issue where we're trying to load documents through DIH's URLDataSource and XPathEntityProcessor, where we want to leverage the $hasMore feature to request to a new URL. I've been tinkering with this using a very simple example, two XML files - solr.xml: add

Re: Param Naming and Abbreviations

2009-07-28 Thread Erik Hatcher
On Jul 28, 2009, at 6:36 AM, Grant Ingersoll wrote: OK, color me confused about how naming should be done for params. There clearly seems to be two camps in Solr-land: 1. those who abbreviate params and 2. those who don't. Pick your sides, please! ;-) Tend towards brevity, but not

[jira] Commented: (SOLR-868) Prepare solrjs trunk to be integrated into contrib

2009-07-27 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12735713#action_12735713 ] Erik Hatcher commented on SOLR-868: --- ping. Anything left to do for this issue? Note

[jira] Commented: (SOLR-761) Fix Flare license headers

2009-07-27 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12735785#action_12735785 ] Erik Hatcher commented on SOLR-761: --- I've fixed up the bulk of the warnings from RAT

[jira] Commented: (SOLR-1237) firstSearcher and newSearcher should identify themselves via the parameter set passed in

2009-07-27 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12735803#action_12735803 ] Erik Hatcher commented on SOLR-1237: Just and petty comment: + public static final

[jira] Issue Comment Edited: (SOLR-1237) firstSearcher and newSearcher should identify themselves via the parameter set passed in

2009-07-27 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12735803#action_12735803 ] Erik Hatcher edited comment on SOLR-1237 at 7/27/09 3:04 PM

[jira] Commented: (SOLR-1304) Make it possible to force replication of at least some of the config files even if the index hasn't changed

2009-07-22 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12734359#action_12734359 ] Erik Hatcher commented on SOLR-1304: I've been working with replication a bit lately

[jira] Commented: (SOLR-1298) FunctionQuery results as pseudo-fields

2009-07-21 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12733620#action_12733620 ] Erik Hatcher commented on SOLR-1298: I would only add that we probably don't want to add

[jira] Commented: (SOLR-1298) FunctionQuery results as pseudo-fields

2009-07-21 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12733646#action_12733646 ] Erik Hatcher commented on SOLR-1298: SOLR-705 meta it is! Sorry, I had come across

[jira] Commented: (SOLR-1295) Move javascript client from contrib to clients dir in source

2009-07-19 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12733052#action_12733052 ] Erik Hatcher commented on SOLR-1295: Committed. All seems well, but I'll leave open

[jira] Commented: (SOLR-792) Tree Faceting Component

2009-07-19 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12733072#action_12733072 ] Erik Hatcher commented on SOLR-792: --- See http://wiki.apache.org/solr/HierarchicalFaceting

[jira] Commented: (SOLR-64) strict hierarchical facets

2009-07-19 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-64?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12733073#action_12733073 ] Erik Hatcher commented on SOLR-64: -- Would it make sense to leverage payloads for level

[jira] Updated: (SOLR-64) strict hierarchical facets

2009-07-18 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher updated SOLR-64: - Attachment: SOLR-64.patch Updated patch to trunk. Only real change was removing hiefacet field

wiki wacked?

2009-07-18 Thread Erik Hatcher
Is it just me or are others getting errors when attempting to preview or save pages on our wiki? So frustrating - I want to write up some stuff on HierarchicalFaceting and not having any luck getting MoinMoin to save. *ugh* Erik

[jira] Assigned: (SOLR-1295) Move javascript client from contrib to clients dir in source

2009-07-17 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher reassigned SOLR-1295: -- Assignee: Erik Hatcher Move javascript client from contrib to clients dir in source

Re: EmbeddedSolrServer API usage

2009-07-15 Thread Erik Hatcher
coreContainer.shutdown();? It should have the same effect right? Thanks. Ravi Erik Hatcher wrote: Thanks Ryan - good tips, and core.close() was the missing piece, duh. Here's how it looks in JRuby: container = CoreContainer.new descriptor = CoreDescriptor.new(container, core1, /Users/erik/ apache

[jira] Commented: (SOLR-1286) DIH: The commit parameter is always defaulting to true even if falst is explicitly passed in.

2009-07-15 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12731790#action_12731790 ] Erik Hatcher commented on SOLR-1286: I was about to commit this Jay - looks reasonable

[jira] Issue Comment Edited: (SOLR-1286) DIH: The commit parameter is always defaulting to true even if falst is explicitly passed in.

2009-07-15 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12731806#action_12731806 ] Erik Hatcher edited comment on SOLR-1286 at 7/15/09 10:07 PM

[jira] Updated: (SOLR-1286) DIH: The commit parameter is always defaulting to true even if false is explicitly passed in.

2009-07-15 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher updated SOLR-1286: --- Summary: DIH: The commit parameter is always defaulting to true even if false is explicitly passed

SignatureUpdateProcessorFactory questions

2009-07-14 Thread Erik Hatcher
I was just tinkering with creating a simple update processor (coming soon in a new JIRA issue) and used SignatureUpdateProcessorFactory as a starting example. A couple of things I noticed: - several methods are overridden, but are basically just deferring to what the base class already

[jira] Created: (SOLR-1280) Fields used update processor

2009-07-14 Thread Erik Hatcher (JIRA)
Fields used update processor Key: SOLR-1280 URL: https://issues.apache.org/jira/browse/SOLR-1280 Project: Solr Issue Type: New Feature Components: update Reporter: Erik Hatcher

[jira] Updated: (SOLR-1280) Fields used update processor

2009-07-14 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher updated SOLR-1280: --- Attachment: FieldsUsedUpdateProcessorFactory.java This is just a quick implementation to demonstrate

[jira] Issue Comment Edited: (SOLR-1280) Fields used update processor

2009-07-14 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12731122#action_12731122 ] Erik Hatcher edited comment on SOLR-1280 at 7/14/09 8:07 PM

Re: svn commit: r792861 - in /lucene/solr/trunk/src: java/org/apache/solr/core/RequestHandlers.java java/org/apache/solr/core/SolrCore.java webapp/web/admin/index.jsp webapp/web/admin/replication/head

2009-07-11 Thread Erik Hatcher
Also, may want to use instanceof instead of == for class comparison, in case subclasses are used. Erik On Jul 10, 2009, at 3:06 PM, Chris Hostetter wrote: Dude you've got to at least run ant test before you commit ... TestWriterPerf can't even compile now. This breaks anyone

[jira] Updated: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-07-10 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher updated SOLR-1229: --- Attachment: SOLR-1229.patch Latest patch (adapted by Lance). All tests pass

[jira] Resolved: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-07-10 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher resolved SOLR-1229. Resolution: Fixed Assignee: Erik Hatcher (was: Noble Paul) Committed to r792963. Thanks

[jira] Resolved: (SOLR-1265) URLDataSource variable resolver for initProps

2009-07-09 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher resolved SOLR-1265. Resolution: Fixed Committed revision 792555. Thanks Chris! URLDataSource variable resolver

[jira] Updated: (SOLR-1265) URLDataSource variable resolver for initProps

2009-07-09 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher updated SOLR-1265: --- Fix Version/s: 1.4 URLDataSource variable resolver for initProps

[jira] Created: (SOLR-1269) stack trace not clear when there is a SQL error

2009-07-09 Thread Erik Hatcher (JIRA)
- DataImportHandler Affects Versions: 1.4 Reporter: Erik Hatcher When setting up a new JDBC datasource and the SQL isn't right yet, we are getting a stack trace that says ClassNotFoundException, but that is misleading. A cleaner stack trace is warranted, indicating the actual error

[jira] Assigned: (SOLR-1265) URLDataSource variable resolver for initProps

2009-07-08 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher reassigned SOLR-1265: -- Assignee: Erik Hatcher URLDataSource variable resolver for initProps

Re: subdirectories under lib

2009-07-06 Thread Erik Hatcher
Another option is to have a config option for the lib directories (plural) allowing multiple to be specified that can live anywhere, not just under solr-home. Erik On Jul 4, 2009, at 12:03 PM, Yonik Seeley wrote: How hard would it be to allow subdirectories under example/solr/lib?

Re: solr.war contains clustering stuff

2009-07-01 Thread Erik Hatcher
Definitely shouldn't be the case. Should be solr home/lib This is one reason I didn't integrate Solritas into the example myself, and kept it entirely separate. Just didn't want to be tossing more into the kitchen sink until this packaging stuff sorted itself out. Erik On Jul 1,

[jira] Commented: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-30 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12725629#action_12725629 ] Erik Hatcher commented on SOLR-1229: Lance - I too get failures with your tests. Here's

[jira] Commented: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-28 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12724990#action_12724990 ] Erik Hatcher commented on SOLR-1229: Lance - the SQL query could return more than one

[jira] Issue Comment Edited: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-28 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12724990#action_12724990 ] Erik Hatcher edited comment on SOLR-1229 at 6/28/09 1:23 PM

[jira] Reopened: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-26 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher reopened SOLR-1229: Noble - I don't really appreciate you committing a partial patch of this. What you committed requires

Re: Solr Cell

2009-06-26 Thread Erik Hatcher
On Jun 26, 2009, at 6:49 PM, Yonik Seeley wrote: ext.ignore.und.fl looks like it defaults to true instead of false as specified on the Wiki, so metadata is ignored if not defined in the schema. Perhaps we should define common metadata fields in the example schema for a better OOTB experience?

[jira] Commented: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-26 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12724780#action_12724780 ] Erik Hatcher commented on SOLR-1229: In all of those cases, as long as what is returned

Re: [jira] Commented: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-24 Thread Erik Hatcher
On Jun 24, 2009, at 12:28 AM, Noble Paul (JIRA) wrote: let me explain with the above example . {code:java} // this code is taken from your patch SchemaField uniqueKeyField = dataImporter.getSchema().getUniqueKeyField(); // now the value of uniqueKeyField is 'solr_id' if (uniqueKeyField ==

[jira] Commented: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-23 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12723393#action_12723393 ] Erik Hatcher commented on SOLR-1229: The pk attribute currently is used to track only

[jira] Commented: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-22 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12722921#action_12722921 ] Erik Hatcher commented on SOLR-1229: Noble - I'm not following your explanation here

[jira] Commented: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-22 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12722922#action_12722922 ] Erik Hatcher commented on SOLR-1229: I plan on committing this patch later this week

Re: svn commit: r787205 - in /lucene/solr/trunk/contrib/dataimporthandler: CHANGES.txt src/main/java/org/apache/solr/handler/dataimport/DataImportHandler.java src/main/java/org/apache/solr/handler/dat

2009-06-22 Thread Erik Hatcher
On Jun 22, 2009, at 7:27 AM, no...@apache.org wrote: Author: noble Date: Mon Jun 22 11:27:53 2009 New Revision: 787205 URL: http://svn.apache.org/viewvc?rev=787205view=rev Log: 36.SOLR-1234: Multiple DIH does not work because all of them write to dataimport.properties. Use the handler name

[jira] Reopened: (SOLR-1234) Multiple DIH does not work because all of them write to dataimport.properties

2009-06-22 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher reopened SOLR-1234: The patch applied does not handle request handler mappings with multiple slashes properly. Multiple

[jira] Commented: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-21 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12722345#action_12722345 ] Erik Hatcher commented on SOLR-1229: Noble - they do have to be the same

[jira] Commented: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-21 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12722364#action_12722364 ] Erik Hatcher commented on SOLR-1229: In my latest patch, I added a comment

[jira] Commented: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-21 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12722441#action_12722441 ] Erik Hatcher commented on SOLR-1229: Lance - your patch misses the all important

[jira] Commented: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-21 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12722443#action_12722443 ] Erik Hatcher commented on SOLR-1229: I've retested my last patch and all works fine

[jira] Updated: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-21 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher updated SOLR-1229: --- Description: Problem doing a delta-import such that records marked as deleted in the database

[jira] Updated: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-20 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher updated SOLR-1229: --- Fix Version/s: 1.4 deletedPkQuery feature does not work when pk and uniqueKey field do not have

[jira] Updated: (SOLR-1191) NullPointerException in delta import

2009-06-20 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher updated SOLR-1191: --- Fix Version/s: 1.4 NullPointerException in delta import

[jira] Updated: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-20 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher updated SOLR-1229: --- Attachment: SOLR-1229.patch Noble - that looks like the right thing to add for delta queries

[jira] Created: (SOLR-1233) Remove restriction that /select cannot be used for /-prefixed request handlers via qt

2009-06-19 Thread Erik Hatcher (JIRA)
: Solr Issue Type: Improvement Components: search Affects Versions: 1.3 Reporter: Erik Hatcher Assignee: Erik Hatcher Priority: Minor Fix For: 1.4 Currently /select?qt=/whatever is blocked by SolrDispatchFilter. It makes life

[jira] Updated: (SOLR-1233) Remove restriction that /select cannot be used for /-prefixed request handlers via qt

2009-06-19 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher updated SOLR-1233: --- Attachment: SOLR-1233.patch This patch removes the restriction on /select on hitting /-prefixed

Re: SolrDispatchFilter and /prefixed request handlers

2009-06-19 Thread Erik Hatcher
On Jun 18, 2009, at 12:56 PM, Chris Hostetter wrote: : Why might this bit of code in SolrDispatchFilter be useful? : : if( qt != null qt.startsWith( / ) ) { : throw new SolrException( SolrException.ErrorCode.BAD_REQUEST, : Invalid query type. Do not use

[jira] Resolved: (SOLR-1233) Remove restriction that /select cannot be used for /-prefixed request handlers via qt

2009-06-19 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher resolved SOLR-1233. Resolution: Fixed Committed. The Solr wiki is broken for saving at the time of writing

[jira] Resolved: (SOLR-1230) dataimport.jsp hardcoded to /dataimport handler

2009-06-19 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher resolved SOLR-1230. Resolution: Fixed committed to r786516. dataimport.jsp hardcoded to /dataimport handler

Re: How to contribute question (patch against release or latest trunk?)

2009-06-19 Thread Erik Hatcher
On Jun 19, 2009, at 1:07 PM, Burton-West, Tom wrote: I read the How to Contribute page on the wiki and want to make a patch. Do I make the patch against the latest Solr trunk or against the last release? Tom - against trunk is easiest to manage for us committers. That's where the

[jira] Commented: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-19 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12722128#action_12722128 ] Erik Hatcher commented on SOLR-1229: FYI - some prior discussion on solr-user too: http

[jira] Resolved: (SOLR-1173) Let contrib projects modify web.xml when running dist-war

2009-06-19 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher resolved SOLR-1173. Resolution: Won't Fix I agree with Hoss. I'm marking as Won't Fix. However, I did as of r786752

SolrDispatchFilter and /prefixed request handlers

2009-06-18 Thread Erik Hatcher
Why might this bit of code in SolrDispatchFilter be useful? if( qt != null qt.startsWith( / ) ) { throw new SolrException( SolrException.ErrorCode.BAD_REQUEST, Invalid query type. Do not use /select to access: +qt); } I'd like it better if

[jira] Reopened: (SOLR-1228) NPE thown if a deletedPkQuery returns a row w/o the key

2009-06-18 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher reopened SOLR-1228: This patch didn't fix the issue, unfortunately. This is part of a bigger issue of DIH assuming

[jira] Updated: (SOLR-1228) NPE thown if a deletedPkQuery returns a row w/o the key

2009-06-18 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher updated SOLR-1228: --- Comment: was deleted (was: This patch didn't fix the issue, unfortunately. This is part

[jira] Resolved: (SOLR-1228) NPE thown if a deletedPkQuery returns a row w/o the key

2009-06-18 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher resolved SOLR-1228. Resolution: Fixed Oops, must have not recompiled the update properly... NPE now resolved. A new

[jira] Created: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-18 Thread Erik Hatcher (JIRA)
Project: Solr Issue Type: Bug Components: contrib - DataImportHandler Affects Versions: 1.4 Reporter: Erik Hatcher Problem doing a delta-import such that records marked as deleted in the database are removed from Solr using deletedPkQuery. Here's a config

[jira] Commented: (SOLR-1229) deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value

2009-06-18 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12721264#action_12721264 ] Erik Hatcher commented on SOLR-1229: Maybe the pk field returned from deletedPkQuery

[jira] Created: (SOLR-1230) dataimport.jsp hardcoded to /dataimport handler

2009-06-18 Thread Erik Hatcher (JIRA)
- DataImportHandler Affects Versions: 1.4 Reporter: Erik Hatcher Assignee: Erik Hatcher Fix For: 1.4 Currently dataimport.jsp development console only works for a single /dataimport handler mapping. -- This message is automatically generated by JIRA. - You can reply

[jira] Updated: (SOLR-1230) dataimport.jsp hardcoded to /dataimport handler

2009-06-18 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erik Hatcher updated SOLR-1230: --- Attachment: SOLR-1230.patch The attached patch makes dataimport.jsp ask which handler to then launch

[jira] Commented: (SOLR-1230) dataimport.jsp hardcoded to /dataimport handler

2009-06-18 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12721333#action_12721333 ] Erik Hatcher commented on SOLR-1230: This patch also changes the initial right pane

Re: SolrDispatchFilter and /prefixed request handlers

2009-06-18 Thread Erik Hatcher
On Jun 18, 2009, at 12:56 PM, Chris Hostetter wrote: : Why might this bit of code in SolrDispatchFilter be useful? : : if( qt != null qt.startsWith( / ) ) { : throw new SolrException( SolrException.ErrorCode.BAD_REQUEST, : Invalid query type. Do not use

Re: svn commit: r779144 - in /lucene/solr/trunk: CHANGES.txt src/java/org/apache/solr/handler/component/TermVectorComponent.java src/test/org/apache/solr/handler/component/TermVectorComponentTest.java

2009-05-27 Thread Erik Hatcher
Grant - I don't think you meant to remove Yonik's addition to CHANGES.txt... On May 27, 2009, at 8:34 AM, gsing...@apache.org wrote: Author: gsingers Date: Wed May 27 12:34:09 2009 New Revision: 779144 URL: http://svn.apache.org/viewvc?rev=779144view=rev Log: SOLR-1188: Minor efficiency

[jira] Commented: (SOLR-1190) Change the Search Order

2009-05-27 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12713697#action_12713697 ] Erik Hatcher commented on SOLR-1190: But, perhaps the fl parameter specified order

Re: [Solr Wiki] Update of FrontPage by OscarBernal

2009-05-26 Thread Erik Hatcher
Oscar - are you on either of these lists? The front page does not seem like an appropriate place to list a blog entry. And the technique used in that blog entry doesn't seem like a best practice to me anyway, though I'd be curious to hear it debated a bit on solr-user on ways to offer

issue on trunk?

2009-05-25 Thread Erik Hatcher
I saw Peter Wolanin mention this on IRC's #solr the other day (Hi Peter, nice meeting you at the meetup the other night!), and I just encountered it too: HTTP ERROR: 500 org.apache.lucene.index.ReadOnlySegmentReader cannot be cast to org.apache.solr.search.SolrIndexReader

Re: issue on trunk?

2009-05-25 Thread Erik Hatcher
On May 25, 2009, at 8:51 AM, Mark Miller wrote: Erik Hatcher wrote: I saw Peter Wolanin mention this on IRC's #solr the other day (Hi Peter, nice meeting you at the meetup the other night!), and I just encountered it too: HTTP ERROR: 500 org.apache.lucene.index.ReadOnlySegmentReader

Re: issue on trunk?

2009-05-25 Thread Erik Hatcher
On May 25, 2009, at 8:59 AM, Erik Hatcher wrote: On May 25, 2009, at 8:51 AM, Mark Miller wrote: Erik Hatcher wrote: I saw Peter Wolanin mention this on IRC's #solr the other day (Hi Peter, nice meeting you at the meetup the other night!), and I just encountered it too: HTTP ERROR

Re: [Solr Wiki] Trivial Update of LargeIndexes by PeterWolanin

2009-05-08 Thread Erik Hatcher
http://wiki.apache.org/solr/LargeIndexes On May 8, 2009, at 2:28 PM, Apache Wiki wrote: + In solrconfig.xml, change the dismax parameter q.alt to something besides '*:*'. Hitting this query by accident can also make a large index unavailable for minutes. That's not really true all by

<    1   2   3   4   5   6   7   >