Dennis,
If you need to search a key/value pair, you'll have to put them both in the
same field, somehow. One way is to re-index them using the key in the
fieldname. For instance, suppose you have:
contributor: dyer, james
contributor: smith, sam
role: author
role: editor
...but you want
Thanks James.
So being accurate with fields with fields(mulitvalues) is probably not possible
using all the currently made analyzers.
- Original Message
From: Dyer, James james.d...@ingrambook.com
To: solr-user@lucene.apache.org solr-user@lucene.apache.org
Sent: Mon, December 20,
Here is a thread on this subject that I did not find earlier. Sometimes
discussion, thought, and 'mulling' in the subconcious gets me better Google
searches.
http://lucene.472066.n3.nabble.com/multi-valued-associated-fields-td811883.html
Dennis Gearon
Signature Warning
It
Dennis,
I may be misunderstanding your question, but think I've just worked through
something similar. We're indexing book metadata, and a book can have more than
one Contributor. We want to store both the contributor's name, their Role and
their id (from our rel db). With our old system,
There's also one gotcha we've experienced when searching acrosse multi-valued
fields: SOLR will match across field occurences. In the example below, if you
were to search q=contrib_name:(james AND smith), you will get this record back.
It matches one name from one contributor and another
You've given me some tings to think about, James, thanks.
Dennis Gearon
-- On Fri, 12/17/10, Dyer, James james.d...@ingrambook.com wrote:
From: Dyer, James james.d...@ingrambook.com
Subject: RE: A schema inside a Solr Schema (Schema in a can)
To: solr-user@lucene.apache.org
Quite a bit of this is over hy head at this point.
I shold NOT have duplicate fields in the column. I wonder how that affects
things.
Dennis Gearon
Signature Warning
It is always a good idea to learn from your own mistakes. It is usually a
better idea to learn from others’
The problem with this approach is that Lucene doesn't
support wildcards in phrases.
With https://issues.apache.org/jira/browse/SOLR-1604 you can do that.
So this is a current usable plugin (except for the latest bug)?
And, is it possible to search jwithin ust one key:value pair in a multivalued
field?
Dennis Gearon
Signature Warning
It is always a good idea to learn from your own mistakes. It is usually a
better idea to learn