Different behavior (bug?) for RegExTransformer in Solr5

2015-05-26 Thread Carrie Coy
I'm experimenting with Solr5 (5.1.0 1672403 - timpotter - 2015-04-09 10:37:54). In my custom DIH, I use a RegExTransformer to load several columns, which may or may not be present. If present, the regexp matches and the data loads correctly in both Solr4 and 5. If not present and the regexp f

Re: lukeall.jar for Solr4r?

2012-11-06 Thread Carrie Coy
Thank you very much for taking the time to do this. This version is able to read the index files, but there is at least one issue: The home screen reports "ERROR: can't count terms per field" and this exception is thrown: java.util.NoSuchElementException at java.util.TreeMap$PrivateEnt

Re: lukeall.jar for Solr4r?

2012-11-05 Thread Carrie Coy
Can anyone post a luke.jar capable of reading 4.0 indexes? On 10/27/2012 09:17 PM, Lance Norskog wrote: Aha! Andrzej has not built a 4.0 release version. You need to check out the source and compile your own. http://code.google.com/p/luke/downloads/list - Original Message ----- | From: &qu

lukeall.jar for Solr4r?

2012-10-26 Thread Carrie Coy
Where can I get a copy of Luke capable of reading Solr4 indexes? My lukeall-4.0.0-ALPHA.jar no longer works. Thx, Carrie Coy

Re: UnsupportedOperationException: ExternalFileField (SOLVED)

2012-10-25 Thread Carrie Coy
, Carrie Coy wrote: (Solr4) I'm getting the following error trying to use ExternalFileField to maintain an inStock flag. Any idea what I'm doing wrong? schema.xml: indexed="false" class="solr.ExternalFileField" valType="float"/> -rw-r--r-- 1 tomcat

UnsupportedOperationException: ExternalFileField

2012-10-24 Thread Carrie Coy
(Solr4) I'm getting the following error trying to use ExternalFileField to maintain an inStock flag. Any idea what I'm doing wrong? schema.xml: indexed="false" class="solr.ExternalFileField" valType="float"/> -rw-r--r-- 1 tomcat tomcat 100434 Oct 24 20:07 external_inStock: YM0600=1 YM0544

WordBreak spell correction makes split terms optional?

2012-10-02 Thread Carrie Coy
t match is excellent, the rest are irrelevant. Thx, Carrie Coy

Solved: Re: omit tf using per-field CustomSimilarity?

2012-09-24 Thread Carrie Coy
My problem was that I specified the per-field similarity class INSIDE the analyzer instead of outside it. On 09/24/2012 02:56 PM, Carrie Coy wrote: I'm trying to configure per-field similarity to disregard term frequency (omitTf) in a 'title' field. I'm trying to

omit tf using per-field CustomSimilarity?

2012-09-24 Thread Carrie Coy
I'm trying to configure per-field similarity to disregard term frequency (omitTf) in a 'title' field. I'm trying to follow the example docs without success: my custom similarity doesn't seem to have any effect on 'tf'. Is the NoTfSimilarity function below written correctly? Any advice is

Re: Conditionally apply synonyms?

2012-09-19 Thread Carrie Coy
the document had a category and applying this only at index time? Best Erick On Wed, Sep 19, 2012 at 3:23 PM, Carrie Coy wrote: Is there an existing TokenFilterFactory that can conditionally insert synonyms based on a given document attribute, say category? Some synonyms only make sense in context:

Conditionally apply synonyms?

2012-09-19 Thread Carrie Coy
Is there an existing TokenFilterFactory that can conditionally insert synonyms based on a given document attribute, say category? Some synonyms only make sense in context: "bats" in Sports is different from "bats" in "Party and Novelty". It seems the synonyms.txt file would need an additional

Re: local param invariant for q is ignored? (solved)

2012-08-31 Thread Carrie Coy
Of course I saw my error within seconds of pressing send. The "invariants" block should appear outside the "defaults" block in the RequestHandler. On 08/31/2012 04:25 PM, Carrie Coy wrote: (solr4-beta) I'm trying to follow the instructions in this article: http://

local param invariant for q is ignored?

2012-08-31 Thread Carrie Coy
(solr4-beta) I'm trying to follow the instructions in this article: http://searchhub.org/dev/2011/06/20/solr-powered-isfdb-part-10/ to apply a custom sort order to search results: Essentially, it involves creating a new qq parameter, and substituting it into the original q parameter as a local

Re: More debugging DIH - URLDataSource (solved)

2012-08-28 Thread Carrie Coy
that goes to the remote site? Can you read the logs at the remote site? Can you run this code through a proxy and watch the data? On Fri, Aug 24, 2012 at 1:34 PM, Carrie Coy wrote: I'm trying to write a DIH to incorporate page view metrics from an XML feed into our index. The DIH makes a s

More debugging DIH - URLDataSource

2012-08-24 Thread Carrie Coy
I'm trying to write a DIH to incorporate page view metrics from an XML feed into our index. The DIH makes a single request, and updates 0 documents. I set log level to "finest" for the entire dataimport section, but I still can't tell what's wrong. I suspect the XPath. http://localhost:80

Shingle and PositionFilterFactory question

2012-08-20 Thread Carrie Coy
s: WT text raw_bytes start end position type foot [66 6f 6f 74] 0 4 1 word print [70 72 69 6e 74] 5 10 2 word SF text raw_bytes start end positionLength type position foot [66 6f 6f 74] 0 4 1 word 1 footprint [66 6f 6f 74 70 72 69 6e 74] 0 10 2 shingle 1 print [70 72 69 6e 74] 5 10 1 word 2 Thanks, Carrie Coy

Re: Solved: WordBreakSolrSpellChecker ignores MinBreakWordLength?

2012-06-28 Thread Carrie Coy
y more feedback you can provide on the newer spellcheck features you're using is appreciated. Thanks. James Dyer E-Commerce Systems Ingram Content Group (615) 213-4311 -Original Message- From: Carrie Coy [mailto:c...@ssww.com] Sent: Thursday, June 28, 2012 8:20 AM To: solr-user@lu

WordBreakSolrSpellChecker ignores MinBreakWordLength?

2012-06-28 Thread Carrie Coy
I set MinBreakWordLength = 3 thinking it would prevent WordBreakSolrSpellChecker from suggesting corrections made up of subwords shorter than 3 characters, but I still get suggestions like this: query: Touch N' Match suggestion: (t o u ch) 'n (m a t ch) Can someone help me understand why? Her

Re: WordBreak and default dictionary crash Solr

2012-06-18 Thread Carrie Coy
llChecker instead of IndexBasedSpellChecker for your "default" dictionary? Switching to DirectSolrSpellChecker appears to fix the problem: a query with 2 misspellings, one from each dictionary, does not crash Solr and is correctly spell-checked. Thanks! Carrie Coy

WordBreak and default dictionary crash Solr

2012-06-15 Thread Carrie Coy
Is this a configuration problem or a bug? We use two dictionaries, default (spellcheckerFreq) and solr.WordBreakSolrSpellChecker. When a query contains 2 misspellings, one corrected by the default dictionary, and the other corrected by the wordbreak dictionary ("strawberryn shortcake") , Sol

PorterStemmerTokenizerFactory ?

2012-06-07 Thread Carrie Coy
ure a SynonymFilterFactory to use a custom TokenizerFactory that stems synonyms by calling out to the PorterStemmer. Does anyone know if a PorterStemmerTokenizerFactory already exists somewhere? Thank you. Carrie Coy