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

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

Re: lukeall.jar for Solr4r?

2012-11-05 Thread Carrie Coy
| To: solr-user@lucene.apache.org | Sent: Friday, October 26, 2012 7:33:45 AM | Subject: lukeall.jar for Solr4r? | | 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 |

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: field name=inStock type=file / fieldtype name=file keyField=id defVal=1 stored=false indexed=false class=solr.ExternalFileField

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: field name=inStock type=file / fieldtype name=file keyField=id defVal=1 stored=false indexed=false class=solr.ExternalFileField valType=float/

WordBreak spell correction makes split terms optional?

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

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

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. fieldType analyzer similarity /fieldType 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

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: Conditionally apply synonyms?

2012-09-19 Thread Carrie Coy
the latter: the document (eg product) has a category, and the synonyms would be applied at index time. sports-related bat synonyms to baseball bats, and halloween-themed bat synonyms to scary bats, for example. On 09/19/2012 05:08 PM, Erick Erickson wrote: Not that I know of, synonyms

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

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://searchhub.org/dev/2011/06/20

Re: More debugging DIH - URLDataSource (solved)

2012-08-28 Thread Carrie Coy
Thank you for these suggestions. The real problem was incorrect syntax for the primary key column in data-config.xml. Once I corrected that, the data loaded fine. wrong: field column=part_code name=id xpath=/ReportDataResponse/Data/Rows/Row/Value[@columnId='PAGE_NAME']

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.

Shingle and PositionFilterFactory question

2012-08-20 Thread Carrie Coy
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

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?

Re: Solved: WordBreakSolrSpellChecker ignores MinBreakWordLength?

2012-06-28 Thread Carrie Coy
-Original Message- From: Carrie Coy [mailto:c...@ssww.com] Sent: Thursday, June 28, 2012 8:20 AM To: solr-user@lucene.apache.org Subject: WordBreakSolrSpellChecker ignores MinBreakWordLength? I set MinBreakWordLength = 3 thinking it would prevent WordBreakSolrSpellChecker from suggesting

Re: WordBreak and default dictionary crash Solr

2012-06-18 Thread Carrie Coy
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) , Solr

PorterStemmerTokenizerFactory ?

2012-06-07 Thread Carrie Coy
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