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
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
| 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
|
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
, 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
(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/
the first match is excellent, the rest are irrelevant.
Thx,
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
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
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
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
(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
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
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']
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.
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
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?
-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
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
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
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
21 matches
Mail list logo