You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by gdeconto <ge...@topproducer.com> on 2009/12/03 01:39:19 UTC

Re: question about schemas (and SOLR-1131?)

I saw an interesting thread in the solr-dev forum about multiple fields per
fieldtype (https://issues.apache.org/jira/browse/SOLR-1131)

from the sounds of it, it might be of interest and/or use in these types of
problems;  for your example, you might be able to define a fieldtype that
houses the product data.

note that I only skimmed the thread. hopefully, I'll get get some time to
look at it more closely
-- 
View this message in context: http://old.nabble.com/question-about-schemas-tp26600956p26619190.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: question about schemas (and SOLR-1131?)

Posted by solr-user <so...@hotmail.com>.

wojtekpia wrote:
> 
> Could this be solved with a multi-valued custom field type (including a
> custom comparator)? The OP's situation deals with multi-valuing products
> for each customer. If products contain strictly numeric fields then it
> seems like a custom field implementation (or extension of BinaryField?)
> *should* be easy - only the comparator part needs work. I'm not clear on
> how the existing query parsers would handle this though, so there's
> probably some work there too. 
> https://issues.apache.org/jira/browse/SOLR-1131 SOLR-1131  seems like a
> more general solution that supports analysis that numeric fields don't
> need.
> 

Thank you for your suggestion.

It was my hope that I had simply not understood how to properly define the
schema in Solr, or that I had not understood how to use the existing Solr
functionality.

I will further look into the suggestions that I have received so far,
however I have concerns that my Solr project cannot proceed with the
technology present.  Lance may be correct in his assertion that I am using
the incorrect tool for the job.
-- 
View this message in context: http://old.nabble.com/question-about-schemas-tp26600956p26680485.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: question about schemas (and SOLR-1131?)

Posted by wojtekpia <wo...@hotmail.com>.
Could this be solved with a multi-valued custom field type (including a
custom comparator)? The OP's situation deals with multi-valuing products for
each customer. If products contain strictly numeric fields then it seems
like a custom field implementation (or extension of BinaryField?) *should*
be easy - only the comparator part needs work. I'm not clear on how the
existing query parsers would handle this though, so there's probably some
work there too. SOLR-1131 seems like a more general solution that supports
analysis that numeric fields don't need.


gdeconto wrote:
> 
> I saw an interesting thread in the solr-dev forum about multiple fields
> per fieldtype (https://issues.apache.org/jira/browse/SOLR-1131)
> 
> from the sounds of it, it might be of interest and/or use in these types
> of problems;  for your example, you might be able to define a fieldtype
> that houses the product data.
> 
> note that I only skimmed the thread. hopefully, I'll get get some time to
> look at it more closely
> 

-- 
View this message in context: http://old.nabble.com/question-about-schemas-tp26600956p26636170.html
Sent from the Solr - User mailing list archive at Nabble.com.