Re: Extending Field and FieldType properties

2008-07-02 Thread J.J. Larrea
At 5:12 PM -0400 7/1/08, Grant Ingersoll wrote: You make a good point about the countless hours debugging. On the flip side, one could ask the question as to whether the Solr schema is stable enough that we should publish an XML Schema for it, thus helping alleviate some of the pain. That's a

Re: CapitilizationFilterFactory

2008-01-31 Thread J.J. Larrea
Beware... I just looked at CharArraySet at -rHEAD and it *modifies the input token* if ignoreCase is set: /** Add this char[] directly to the set. * If ignoreCase is true for this Set, the text array will be directly modified. * The user should never modify this text array after calling

Re: logging through log4j

2007-11-14 Thread J.J. Larrea
penalty from the need to re-multiplex everything, and some of the limitations of j.u.l. remain in effect. So count me as another attentive listener if anyone has some experience or at least gossip pro or con either sl4j or the jul-log4j-bridge. Thanks, J.J. Larrea At 6:13 AM -0800 11/14/07, Henrib

[jira] Commented: (SOLR-351) external value source

2007-10-16 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535321 ] J.J. Larrea commented on SOLR-351: -- My apologies for these last-minute peanut-gallery comments, and especially

[jira] Commented: (SOLR-42) Highlighting problems with HTMLStripWhitespaceTokenizerFactory

2007-10-04 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532570 ] J.J. Larrea commented on SOLR-42: - Here is the workaround I am using, along with a long comment explaining why

[jira] Issue Comment Edited: (SOLR-42) Highlighting problems with HTMLStripWhitespaceTokenizerFactory

2007-10-04 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532570 ] skeptikos edited comment on SOLR-42 at 10/4/07 9:45 PM: -- Here is the workaround I am using,

[jira] Issue Comment Edited: (SOLR-42) Highlighting problems with HTMLStripWhitespaceTokenizerFactory

2007-10-04 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532570 ] skeptikos edited comment on SOLR-42 at 10/4/07 10:03 PM: --- Here is the workaround I am using,

[jira] Commented: (SOLR-195) Wildcard/prefix queries not highlighted

2007-09-06 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525304 ] J.J. Larrea commented on SOLR-195: -- Until such time as someone implements one of the approaches for extractTerms

[jira] Commented: (SOLR-320) DirectUpdateHandler2 threading issue

2007-07-26 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515809 ] J.J. Larrea commented on SOLR-320: -- This was biting me too... thanks for filing the detailed report + testcase, Stu

[jira] Commented: (SOLR-314) Store Analyzed token text from an incoming SolrInputDocument

2007-07-22 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514541 ] J.J. Larrea commented on SOLR-314: -- I agree that a stored-field pre-processor would be quite useful, but I'm

Re: Sorting on solr.TextField

2007-06-21 Thread J.J. Larrea
Thanks, Yonik - I think that was a record for me (you committed a fix 40 minutes from when I reported the issue)! - J.J. At 12:40 AM -0400 6/21/07, Yonik Seeley wrote: Thanks J.J., I just committed the fix. sortMissing* was added later and was simply missed for TextField. -Yonik

Re: search components (plugins)

2007-06-10 Thread J.J. Larrea
I very much support a plugin architecture for ResponseHandlers. One aspect could be a Responselet which adds something to the response, as detailed in Ryan's example below. Quite valuable in itself. But another aspect could be a Querylet which adds something to the query before execution.

[jira] Commented: (SOLR-248) Capitalization Filter Factory

2007-05-24 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498817 ] J.J. Larrea commented on SOLR-248: -- While I fully agree that faceting does raise some odd issues stemming from

[jira] Commented: (SOLR-221) faceting memory and performance improvement

2007-05-15 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496046 ] J.J. Larrea commented on SOLR-221: -- Clearly Solr is going to end up with more than 2 algorithms for computing facets

[jira] Commented: (SOLR-228) Add missing functions to SolrParams -- getFieldFloat(...), getFieldParam...

2007-05-06 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493957 ] J.J. Larrea commented on SOLR-228: -- The SolrParams API seems to be set-complete, the only thing missing is the non

Re: SolrParams functions

2007-05-05 Thread J.J. Larrea
I've got those in in my local patched copy of Solr, so +0.5 on one less triviality to maintain, and +0.5 on set closure (but don't forget the non-default getFieldFloat as well). -J.J. At 11:55 PM -0400 5/4/07, Ryan McKinley wrote: SolrParams seems to have most options for how to get whom from

[jira] Commented: (SOLR-212) Embeddable class to call solr directly

2007-05-03 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12493466 ] J.J. Larrea commented on SOLR-212: -- One issue which comes up both DirectSolrConnection.java and the http

[jira] Commented: (SOLR-183) add getRequiredParameter() to SolrParams

2007-03-21 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482686 ] J.J. Larrea commented on SOLR-183: -- Thanks for clarifying the semantics and the implementation, Ryan. It's fine

[jira] Commented: (SOLR-183) add getRequiredParameter() to SolrParams

2007-03-20 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12482455 ] J.J. Larrea commented on SOLR-183: -- I totally agree with Ryan that the question I raised about the value

[jira] Updated: (SOLR-183) add getRequiredParameter() to SolrParams

2007-03-20 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] J.J. Larrea updated SOLR-183: - Attachment: SOLR-183-required-param.patch add getRequiredParameter() to SolrParams

[jira] Commented: (SOLR-183) add getRequiredParameter() to SolrParams

2007-03-07 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478895 ] J.J. Larrea commented on SOLR-183: -- Er, sorry to be contrary, but to me it seems a bit excessive to go through so

[jira] Commented: (SOLR-183) add getRequiredParameter() to SolrParams

2007-03-07 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478930 ] J.J. Larrea commented on SOLR-183: -- Modest proposal: If one is going to come up with a programmer-facing mechanism

[jira] Updated: (SOLR-183) add getRequiredParameter() to SolrParams

2007-03-07 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] J.J. Larrea updated SOLR-183: - Attachment: RequiredSolrParams.java add getRequiredParameter() to SolrParams

[jira] Commented: (SOLR-183) add getRequiredParameter() to SolrParams

2007-03-07 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478980 ] J.J. Larrea commented on SOLR-183: -- By the way, I think your logic to catch type conversion errors and return 400

[jira] Commented: (SOLR-183) add getRequiredParameter() to SolrParams

2007-03-07 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12479175 ] J.J. Larrea commented on SOLR-183: -- I was unfortunately not very clear, and confounded 2 things, an enhanced

Re: sorting parameter changes?

2007-02-22 Thread J.J. Larrea
At 11:30 PM -0800 2/21/07, Ryan McKinley wrote: The question is do we want to add *another* parameter to say don't parse the ; sort even if i don't specify the sort parameter? Yes, testing the existence/non-existence of a param is not great - but I don't think adding another field is worth it for

Re: sorting parameter changes?

2007-02-21 Thread J.J. Larrea
At 9:42 PM -0800 2/21/07, Chris Hostetter wrote: yeah ... the semantics discussed previously for backwards compatibility were... 1) if sort param, use it and do no special ; parsing 2) if no sort param, check for ; and extract sort FWIW, in an in-progress refactoring of StandardRequestHandler

[jira] Commented: (SOLR-133) change XmlUpdateRequestHandler to use StAX instead of XPP

2007-02-01 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469603 ] J.J. Larrea commented on SOLR-133: -- It would be useful if there first were some consensus as to what the goals

Re: facet.missing?

2007-01-23 Thread J.J. Larrea
At 11:17 AM -0800 1/23/07, Chris Hostetter wrote: my point was just that if you arne't very familiar with teh syntax and you say: q=* you might assuming you'll get all docs -- and unless your defaultSearchField is something weird, you will get a lot of docs, but not neccessarily all. if someone

Re: facet.missing?

2007-01-23 Thread J.J. Larrea
At 8:24 PM -0800 1/22/07, Chris Hostetter wrote: : So now that we have negative queries, we don't really need any : additional/extra code for facet.missing. It could simply be : facet.query=-myfield:*, and that way it could be obtained without : getting facet.field results if desired.

[jira] Commented: (SOLR-112) Hierarchical Handler Config

2007-01-21 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466317 ] J.J. Larrea commented on SOLR-112: -- Regarding SOLR-112.patch, +1 on on the NamedList changes included from SOLR-107

Re: Update Plugins (was Re: Handling disparate data sources in Solr)

2007-01-21 Thread J.J. Larrea
At 1:20 AM -0800 1/21/07, Chris Hostetter wrote: : We need code to do that anyway since getParameterMap() doesn't support : getting params from the URL if it's a POST (I believe I tried this in : the past and it didn't work). Uh ... i'm pretty sure you are mistaken ... yep, i've just checked and

[jira] Commented: (SOLR-112) Hierarchical Handler Config

2007-01-20 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466304 ] J.J. Larrea commented on SOLR-112: -- I'm sure you won't like your extemperaneous suggestion (foo/baz implicitly

[jira] Commented: (SOLR-112) Hierarchical Handler Config

2007-01-20 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466308 ] J.J. Larrea commented on SOLR-112: -- Re foo vs. /foo: I think of the SolrServlet as being just one way to invoke

Re: Update Plugins (was Re: Handling disparate data sources in Solr)

2007-01-17 Thread J.J. Larrea
At 11:48 PM -0800 1/16/07, Chris Hostetter wrote: yeah ... once we have a RequestHandler doing that work, and populating a SolrQueryResponse with it's result info, it would probably be pretty trivial to make an extremely bare-bones LegacyUpdateOutputWRiter that only expected that simple mount of

Re: Update Plugins (was Re: Handling disparate data sources in Solr)

2007-01-16 Thread J.J. Larrea
I'm in frantic deadline mode so I'm just going to throw in some (hopefully) short comments... At 11:02 PM -0800 1/15/07, Ryan McKinley wrote: the one thing that still seems missing is those micro-plugins i was [SNIP] interface SolrRequestParser { SolrRequest process( HttpServletRequest

[jira] Commented: (SOLR-20) A simple Java client for updating and searching

2007-01-14 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464648 ] J.J. Larrea commented on SOLR-20: - Regarding Hoss' point #3, perhaps it's time to reorganize into something like /solr

[jira] Commented: (SOLR-104) Update Plugins

2007-01-14 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464653 ] J.J. Larrea commented on SOLR-104: -- I think this is a fantastic effort, so please take my comments and suggestions

[jira] Commented: (SOLR-104) Update Plugins

2007-01-14 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464654 ] J.J. Larrea commented on SOLR-104: -- 6. I may be going a little crazy with this soft-configuration concept

[jira] Commented: (SOLR-106) new facet params: facet.sort, facet.mincount, facet.offset

2007-01-14 Thread J.J. Larrea (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464658 ] J.J. Larrea commented on SOLR-106: -- +1 on direction, and based on a quick scan of the patch. It could be sort=asc

Re: adding modes to the add command

2007-01-11 Thread J.J. Larrea
At 6:43 AM -0500 1/11/07, Erik Hatcher wrote: If all fields are stored, the implementation could simply pull them all into memory on the Solr side and add the document as if it had been sent entirely by the client. But, what happens when for un-stored fields? I'll observe that Luke has a