Greetings.  I am using elasticsearch 1.5.1 on a 64 bit Linux box.  I am 
placing a large number of documents in a single index, but when I search, 
it only finds a few of the matching documents - not all.  Using other 
searches, I can validate that a particular document is present, but when I 
do the search I am trying to get working, it doesn't find the document. 
 For example:

Using the following search:

curl -s -XGET 'http://localhost:9200/components/_search' -d '{
"from" : 0,
"size" : 100000,
"query" : {
"bool" : {
"must" : [
{
"match" : {
"classifications" : "passive_components/resistors/single_components"
}
}
]
}
}
}
'

I get the following document, among *many* others:

      {
        _index: "components-1428943055325",
        _type: "component",
        _id: "4ccf8ca7-ed99-46a8-8a43-9636099ada8f",
        _score: 1.0630159,
        _source: {
          name: "R 1206 50.0m 0.25W 1% Thick Film",
          classifications: "passive_components/resistors/single_components",
          prominentProperties: [
            {
              name: "Resistance",
              id: "property.id-5b532445-5032-4c0a-86c3-d07a69a80ef8",
              value: "0.05",
              units: "ohm"
            }
          ],
          otherProperties: [
            {
              name: "Cp",
              id: "property.id-c36a6fff-dbce-4757-98af-d065466f33ba",
              value: "0.07e-12",
              units: "F"
            },
            {
              name: "Octopart mpn",
              id: "property.id-e8af007b-ef99-43bb-b074-610dcc9b8762",
              value: "RL1206FR-070R05L"
            },
            {
              name: "Ls",
              id: "property.id-520d1642-dd28-4634-8f6d-5c927e58b16d",
              value: "0.95e-9",
              units: "H"
            }
          ],
          position: 6099
        }
      }


However, with this search:

curl -s -XGET 'http://localhost:9200/components/_search' -d '{
"from" : 0,
"size" : 100000,
"query" : {
"bool" : {
"must" : [
{and
"match" : {
"value" : "0.05"
}
}
]
}
}
}
'

I get back only a *few* documents, but the above document is not in there. 
 I tried 0.05 without the quotes with no help.  Also, the reason I am using 
"bool" and "must" is because this is actually a simplified version of the 
real query.

Sure appreciate any help!

Blake McBride

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/779fef4f-619b-4f13-bc4e-145e06163ed1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to