lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Renee Sun <renee_...@mcafee.com>
Subject is there a way to match related multivalued fields of different types
Date Wed, 08 Feb 2017 17:23:28 GMT
Hi -
I have a schema looks like:

<field name="attachment_names"    type="text_nost" indexed="true"
stored="true" required="false" multiValued="true" />
<field name="attachment_body"     type="text_st" indexed="true"
stored="false" multiValued="true"/>
<field name="attachment_size"     type="tint" indexed="true" stored="true"
required="false"  multiValued="true" />

(text_nost and text_st are just defined field type without/with stopwords...
irrelevant to the issues here)

these 3 fields are parallel in means of their values. I want to be able to
match these values and be able to search something like :

give me all attachment_names if their corresponding attachment_size > 5000

I googled and saw someone mentioned about using dynamic fields, but I think
dynamic fields are more suitable for 'type' style value rather than what I
am having is attachment_names being just individual values.

Please advice what is the best way to achieve this.
Thanks in advance!
Renee 



--
View this message in context: http://lucene.472066.n3.nabble.com/is-there-a-way-to-match-related-multivalued-fields-of-different-types-tp4319342.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message