it seems you have structured information (your map field-> value(s))
indexed in an unstructured field 'isq' .
My strong recommendation would be to design your data model creating the
corresponding fields in the schema (with a proper type associated).
With some effort in the indexing pipeline, you will have an elegant
document in Apache Solr, easy to query/
For example, you could add a numeric field called "product_capacity" and
then do a simple range query such as :
fq=product_capacity:[ * TO 100]
> Hi All,
> I have a query regarding the searching of numerical based searches in the
> solr text field.
> we have a text field (isq) which contains the description of a product.
> *product*: Elanpro Metal Mini Bar Solid Door Refrigerator, Top-Freezer, 2
> To 12 Deg C
> *Definition of field:- *
> <field name="isq" type="text" indexed="false" stored="true"
> required="false" multiValued="true"/>
> *Data index is looking like:-*
> "isq": [
> "Door Type==Single Door",
> "Body Material==Metal",
> "Temperature Range==2 to 12 Deg C",
> "Capacity==30-60 Liters"
> *Query*:- Now I want to fetch the products which have capacity "upto 100"..
> fq=isq:"upto 100"
> How we can make a solr query to fetch the above product which has capacity
> upto 100.
> How can I use fq for this problem.