file_get_contents('php://input'); is not working - json

$json = file_get_contents('php://input');
is not returning any result
sample JSON I was supposed to get from my payment gateway is here (sorry I couldn't post sample code here please see comment)
https://uat-paco.s3.ap-southeast-1.amazonaws.com/HTML-based-docs/CorePaymentAPI/2022-04-25-Et01x9/APIs/Payment.html#_inline_response_202_data
{
"version" : "1.0.0",
"apiResponse" : {
"responseMessageID" : "fadaba8f-b02c-4ff4-a8f0-2e5ce9873185",
"responseToRequestMessageID" : "e952828c-6d19-4a08-92e4-1bc47e1945a2",
"responseCode" : "PC-B050000",
"responseDescription" : "Success",
"responseDateTime" : "2016-08-29T09:12:34.001+0000",
"responseTime" : 2400,
"marketingDescription" : "Payment is success. Thank you for purchase."
},
"data" : {
"paymentIncompleteResult" : {
"officeGroupId" : "string",
"officeId" : "string",
"transactionDateTime" : "2016-08-29T09:12:34.001+0000",
"orderNo" : "684105191128073630",
"productDescription" : "URRT55",
"invoiceNo2C2P" : "FPX054658",
"pspReferenceNo" : "W32UPVAPCP260543864232",
"controllerInternalID" : "f81d4fae-7dec-11d0-a765-00a0c91e6bf6",
"paymentStatusInfo" : {
"paymentStatus" : "A",
"paymentStep" : "PA",
"lastUpdatedDTTM" : "2016-08-29T09:12:35.001+0000"
},
"paymentType" : "CC-VI",
"paymentExpiryDateTime" : "2016-08-30T23:59:59.999+0000",
"channelCode" : "WEBPAY",
"agentCode" : "FPX_SBIA",
"mcpFlag" : "N",
"mcpDetails" : {
"mcpType" : "DCC",
"fxRate" : {
"fxRate" : 32.9,
"markUp" : 1.2,
"convertedAmount" : {
"amountText" : "000000006135",
"currencyCode" : "USD",
"decimalPlaces" : 2,
"amount" : 61.349694
},
"fxProviderId" : "FXP0001",
"fxDate" : "2016-08-29T09:12:34.001+0000"
}
},
"merchantIdForMCP" : "4572325756",
"transactionAmount" : {
"amountText" : "000000999950",
"currencyCode" : "THB",
"decimalPlaces" : 2,
"amount" : 9999.5
},
"settlementAmount" : {
"amountText" : "000000999950",
"currencyCode" : "THB",
"decimalPlaces" : 2,
"amount" : 9999.5
},
"customFieldList" : [ {
"fieldName" : "ExternalID5",
"fieldValue" : "AMADEUS"
} ],
"aresACSChallenge" : {
"transStatus" : "C",
"acsURL" : "https://uatemvco.2c2p.com/challenge",
"creq" : "Base64url encoded form data"
},
"authentication3DSVersion" : "2.1.0",
"availablePaymentTypes" : [ "CC-VI", "CC-CA" ],
"untokenizedStoredCardList" : [ {
"storedCardUniqueID" : "string",
"isExpired" : true,
"cardNumber" : "401200XXXXXX3335",
"cardExpiryMMYY" : "1124",
"cvvCode" : "123",
"payerName" : "Attasit Txxxxxx",
"issuerBankCountry" : "TH",
"issuerBankName" : "JPMORGAN CHASE BANK N.A."
} ]
},
"paymentPage" : {
"paymentPageURL" : "https://demo-paco.2c2p.com/payment/form",
"validTillDateTime" : "2016-08-29T09:12:34.001+0000"
}
}
}

Related

How to parse data from large json in Jmeter with Regular expresion or json path extractor

I have the following JSON body. How can I parse it to get the values of StudentId, TermID, etc.?
JSON body:
[ { "Key" : "Results", "ResultsCollection" : [ { "Key" : "IS.S2.SES.FSA.LoadStudentProfile(%27%2751483081%27%27,%20%27%27HCOL%27%27,%27%27JC%27%27,%27%270%27%27)", "Name" : "Josh Josephy-Zack", "LinkURL" : "IS.S2.SES.FSA.LoadStudentProfile(%27%2751483081%27%27,%20%27%27HCOL%27%27,%27%27JC%27%27,%27%270%27%27)", "Title" : "Josh Josephy-Zack", "EnhancedSponsored" : false, "OriginalURL" : "IS.S2.SES.FSA.LoadStudentProfile(%27%2751483081%27%27,%20%27%27HCOL%27%27,%27%27JC%27%27,%27%270%27%27)", "HasActions" : false, "IsPeoplesoft" : false, "SearchKey" : "h0tlbi9WGlr1hZs1AEEhVhF7qlY=", "Sponsored" : false, "Removed" : false, "Description" : "51483081HCOLJC", "Score" : 1, "Modified" : "2022-08-28 22:59:02.000000", "ACAD_CAREER" : "HCOL", "ACAD_PROG" : "JC", "STDNT_CAR_NBR" : "0", "FIRST_NAME" : "Josh", "LAST_NAME" : "Josephy-Zack", "IS_FSA_DESCR_IS_FSA_ACAD_PROG" : "JC", "NAME_DISPLAY" : "Josh Josephy-Zack", "ACAD_LEVEL_BOT" : "30", "IS_FSA_DESCR100_IS_FSA_ACAD_LEVEL" : "Junior", "EMPLID" : "51483081", "IS_SCL_DESCR_IS_SCL_DESCRI" : "Harvard College", "IS_FSA_DESCR_IS_FSA_ACAD_PLAN" : [ "Physics", "Mathematics" ], "PHONE" : "203/645-7134", "ACAD_PROG_DUAL" : "", "EMAIL_ADDR" : [ "test.jjosephyzack-college.harvard.edu#harvard.edu", "test.joshuajosephyzack-gmail.com#harvard.edu" ], "PRIVACY_FLG" : "Y", "FERPA" : "N", "IS_FSA_DESCR100_IS_FSA_ACAD_PROG" : "Joint Concentration", "IS_FSA_DESCR_IS_FSA_HOUSE" : "Quincy House", "IS_FSA_DESCR_HU_FSA_STATUS" : "Enrollment", "IS_SCL_DESCR_IS_SCL_DESCRM" : [ "Physics", "Mathematics" ], "HU_HASH_EMPLID" : "5evPzmXFIpLp8zdDtt5NGTgtAq6VKtbqp09S6SIivMY6", "HU_HASH_FOLDER" : "nZ2DnkQ3gccBTtKpE8MAxU7gabJ4cGdh9O9b7Ow7F846", "IS_FSA_DESCR_HU_FSA_PLN_DPT_DSP" : [ "Physics", "Mathematics" ], "HU_EMPLID_CAREER" : "51483081HCOL", "IS_FSA_PHOTO" : "/Photos/nZ2DnkQ3gccBTtKpE8MAxU7gabJ4cGdh9O9b7Ow7F846/5evPzmXFIpLp8zdDtt5NGTgtAq6VKtbqp09S6SIivMY6.png?ver=764077" }, { "Key" : "IS.S2.SES.FSA.LoadStudentProfile(%27%2791403870%27%27,%20%27%27HCOL%27%27,%27%27JC%27%27,%27%270%27%27)", "Name" : "Kiran Linsuain", "LinkURL" : "IS.S2.SES.FSA.LoadStudentProfile(%27%2791403870%27%27,%20%27%27HCOL%27%27,%27%27JC%27%27,%27%270%27%27)", "Title" : "Kiran Linsuain", "EnhancedSponsored" : false, "OriginalURL" : "IS.S2.SES.FSA.LoadStudentProfile(%27%2791403870%27%27,%20%27%27HCOL%27%27,%27%27JC%27%27,%27%270%27%27)", "HasActions" : false, "IsPeoplesoft" : false, "SearchKey" : "HASgm6RyJebfxiEYSivPt7MM_og=", "Sponsored" : false, "Removed" : false, "Description" : "91403870HCOLJC", "Score" : 1, "Modified" : "2022-08-28 23:47:55.000000", "ACAD_CAREER" : "HCOL", "ACAD_PROG" : "JC", "STDNT_CAR_NBR" : "0", "FIRST_NAME" : "Kiran", "LAST_NAME" : "Linsuain", "IS_FSA_DESCR_IS_FSA_ACAD_PROG" : "JC", "NAME_DISPLAY" : "Kiran Linsuain", "ACAD_LEVEL_BOT" : "30", "IS_FSA_DESCR100_IS_FSA_ACAD_LEVEL" : "Junior", "EMPLID" : "91403870", "IS_SCL_DESCR_IS_SCL_DESCRI" : "Harvard College", "IS_FSA_DESCR_IS_FSA_ACAD_PLAN" : [ "Physics", "Mathematics" ], "PHONE" : "412/926-8923", "ACAD_PROG_DUAL" : "", "EMAIL_ADDR" : [ "test.kiranlinsuain-college.harvard.edu#harvard.edu", "test.kiranlinsuain-gmail.com#harvard.edu" ], "PRIVACY_FLG" : "Y", "FERPA" : "N", "IS_FSA_DESCR100_IS_FSA_ACAD_PROG" : "Joint Concentration", "IS_FSA_DESCR_IS_FSA_HOUSE" : "Leverett House", "IS_FSA_DESCR_HU_FSA_STATUS" : "Enrollment", "IS_SCL_DESCR_IS_SCL_DESCRM" : [ "Physics", "Mathematics" ], "HU_HASH_EMPLID" : "2DPDP7mU8eTwDHduaUwQquBIlSlscOFKr1PraqxInuo6", "HU_HASH_FOLDER" : "SIw3HxekiSltVLRlQ9wDhJpkGdzXP1PBHG3XVbBHnXc6", "IS_FSA_DESCR_HU_FSA_PLN_DPT_DSP" : [ "Physics", "Mathematics" ], "HU_EMPLID_CAREER" : "91403870HCOL", "IS_FSA_PHOTO" : "/Photos/SIw3HxekiSltVLRlQ9wDhJpkGdzXP1PBHG3XVbBHnXc6/2DPDP7mU8eTwDHduaUwQquBIlSlscOFKr1PraqxInuo6.png?ver=749905" } ] }, { "Key" : "Facets", "Facets" : [ ] }, { "Key" : "SearchProperties", "HitCount" : 2, "DocumentCount" : 2, "PageSize" : 999, "PageNumber" : 1, "TotalPages" : 1, "ResultStart" : 1, "ResultEnd" : 2, "SearchText" : "", "SearchQuery" : "", "SearchTextOriginal" : "(HU_EMPLID_CAREER:51483081HCOL | HU_EMPLID_CAREER:91403870HCOL)", "BoostEnabled" : false, "BoostMode" : "", "BoostScoreMode" : "", "BoostExcludeNonBoosted" : "" }, { "Key" : "SignerInfo", "Signers" : [ { "Key" : "51483081", "StudentID" : "51483081", "Srvindreseaon" : "HCOL", "Srvsindicator" : "H01", "SrvcIndDttm" : "2022-08-07 23:03:55.000000", "SignerName" : "Arthur Jaffe", "AuditAction" : "D", "AuditDttm" : "2022-08-25 06:47:05.609115", "IsPrimary" : "Y", "HasComments" : "N", "Denied" : "N" }, { "Key" : "91403870", "StudentID" : "91403870", "Srvindreseaon" : "HCOL", "Srvsindicator" : "H01", "SrvcIndDttm" : "2022-08-07 23:03:46.000000", "SignerName" : "Arthur Jaffe", "AuditAction" : "D", "AuditDttm" : "2022-08-25 09:12:24.620026", "IsPrimary" : "Y", "HasComments" : "N", "Denied" : "N" } ], "TermID" : "2232", "TermDescr" : "2023 Spring", "TermDescrshort" : "2023 Spr" } ]
Using JSON Extractor:
StudentId:
$..Signers[0].StudentID
TermID:
$..TermID
Configuration would be:

Jmeter: Extracting JSON response with special/spaces characters

Hello can someone help me extract the value of user parameter which is "testuser1"
I tried to use this JSON Path expression $..data I was able to extract the entire response but unable to extract user parameter. Thanks in advance
{
"data": "{ "took" : 13, "timed_out" : false, "_shards" : { "total" : 5, "successful" : 5, "skipped" : 0, "failed" : 0 }, "hits" : { "total" : 1, "max_score" : 1.0, "hits" : [ { "_index" : "bushidodb_history_network_eval_ea9656ef-0a9b-474b-8026-2f83e2eb9df1_2021-april-10", "_type" : "network", "_id" : "6e2e58be-0ccf-3fb4-8239-1d4f2af322e21618059082000", "_score" : 1.0, "_source" : { "misMatches" : [ "protocol", "state", "command" ], "instance" : "e3032804-4b6d-3735-ac22-c827950395b4|0.0.0.0|10.179.155.155|53|UDP", "protocol" : "UDP", "localAddress" : "0.0.0.0", "localPort" : "12345", "foreignAddress" : "10.179.155.155", "foreignPort" : "53", "command" : "ping yahoo.com ", "user" : "testuser1", "pid" : "10060", "state" : "OUTGOINGFQ", "rate" : 216.0, "originalLocalAddress" : "192.168.100.229", "exe" : "/bin/ping", "md5" : "f9ad63ce8592af407a7be43b7d5de075", "dir" : "", "agentId" : "abcd-dcd123", "year" : "2021", "month" : "APRIL", "day" : "10", "hour" : "12", "time" : "1618059082000", "isMerged" : false, "timestamp" : "Apr 10, 2021 12:51:22 PM", "metricKey" : "6e2e58be-0ccf-3fb4-8239-1d4f2af322e2", "isCompliant" : false }, "sort" : [ 1618059082000 ] } ] }, "aggregations" : { "count_over_time" : { "buckets" : [ { "key_as_string" : "2021-04-10T08:00:00.000-0400", "key" : 1618056000000, "doc_count" : 1 } ] } }}",
"success": true,
"message": {
"code": "S",
"message": "Get Eval results Count Success"
}
}
Actual Response:
Images
What you posted doesn't look like a valid JSON to me.
If in reality you're getting what's in your image, to wit:
{
"data": "{ \"took\" : 13, \"timed_out\" : false, \"_shards\" : { \"total\" : 5, \"successful\" : 5, \"skipped\" : 0, \"failed\" : 0 }, \"hits\" : { \"total\" : 1, \"max_score\" : 1.0, \"hits\" : [ { \"_index\" : \"bushidodb_history_network_eval_ea9656ef-0a9b-474b-8026-2f83e2eb9df1_2021-april-10\", \"_type\" : \"network\", \"_id\" : \"6e2e58be-0ccf-3fb4-8239-1d4f2af322e21618059082000\", \"_score\" : 1.0, \"_source\" : { \"misMatches\" : [ \"protocol\", \"state\", \"command\" ], \"instance\" : \"e3032804-4b6d-3735-ac22-c827950395b4|0.0.0.0|10.179.155.155|53|UDP\", \"protocol\" : \"UDP\", \"localAddress\" : \"0.0.0.0\", \"localPort\" : \"12345\", \"foreignAddress\" : \"10.179.155.155\", \"foreignPort\" : \"53\", \"command\" : \"pingyahoo.com\", \"user\" : \"testuser1\", \"pid\" : \"10060\", \"state\" : \"OUTGOINGFQ\", \"rate\" : 216.0, \"originalLocalAddress\" : \"192.168.100.229\", \"exe\" : \"/bin/ping\", \"md5\" : \"f9ad63ce8592af407a7be43b7d5de075\", \"dir\" : \"\", \"agentId\" : \"abcd-dcd123\", \"year\" : \"2021\", \"month\" : \"APRIL\", \"day\" : \"10\", \"hour\" : \"12\", \"time\" : \"1618059082000\", \"isMerged\" : false, \"timestamp\" : \"Apr10, 202112: 51: 22PM\", \"metricKey\" : \"6e2e58be-0ccf-3fb4-8239-1d4f2af322e2\", \"isCompliant\" : false }, \"sort\" : [ 1618059082000 ] } ] }, \"aggregations\" : { \"count_over_time\" : { \"buckets\" : [ { \"key_as_string\" : \"2021-04-10T08: 00: 00.000-0400\", \"key\" : 1618056000000, \"doc_count\" : 1 } ] } }}",
"success": true,
"message": {
"code": "S",
"message": "Get Eval results Count Success"
}
}
the easiest way is just using 2 JSON Extractors:
Extract data attribute value into a JMeter Variable from the response
Extract user attribute value into a JMeter variable from ${data} JMeter Variable:
Demo:
If the response looks like exactly you posted you won't be able to use JSON Extractors and will have to treat it as normal text so your choice is limited to Regular Expression Extractor, example regular expression:
"user"\s*:\s*"(\w+)"
Add Regular Expression extractor with the corresponding request and extract it. Use the below expression.
Expression: "user" : "(.*?)"
Ref: https://jmeter.apache.org/usermanual/regular_expressions.html
Regular Expression Extractor Sample

mongodb map reduce value undefined

I have following collection in mongodb-
> db.games.find().pretty();
{
"_id" : ObjectId("5db06c02e08772b58596ec72"),
"name" : "Cricket",
"genre" : "sport",
"rating" : 10
}
{
"_id" : ObjectId("5db06c02e08772b58596ec73"),
"name" : "Football",
"genre" : "sport",
"rating" : 100,
"achievement" : "champion",
"games" : [
{
"score" : 20
},
{
"score" : 30
},
{
"score" : 22
},
{
"score" : 145
}
]
}
{
"_id" : ObjectId("5db06c02e08772b58596ec74"),
"name" : "Ludo",
"genre" : "indoor",
"rating" : 1
}
{
"_id" : ObjectId("5db06c02e08772b58596ec75"),
"name" : "Badminton",
"genre" : "indoor",
"rating" : 60,
"games" : [
{
"score" : 34
},
{
"score" : 12
},
{
"score" : 50
}
]
}
{
"_id" : ObjectId("5db06c02e08772b58596ec76"),
"name" : "Swimming",
"genre" : "water",
"rating" : 50
}
{
"_id" : ObjectId("5db06c02e08772b58596ec77"),
"name" : "Running",
"genre" : "atheletics",
"rating" : 70
}
{
"_id" : ObjectId("5db06c02e08772b58596ec78"),
"name" : "Shotput",
"genre" : "atheletics",
"rating" : 66
}
I want to sum of scores for each game in the collection. For this I am trying to implement map reduce as follows -
> db.games.mapReduce( function(){emit(this.name,this.score)}, function(key,values) {return Array.sum(values)}, {out:"out_scores"});
{
"result" : "out_scores",
"timeMillis" : 330,
"counts" : {
"input" : 7,
"emit" : 7,
"reduce" : 0,
"output" : 7
},
"ok" : 1
}
But the values in the resulting collection as undefined as follows -
db.out_scores.find().pretty();
{ "_id" : "Badminton", "value" : undefined }
{ "_id" : "Cricket", "value" : undefined }
{ "_id" : "Football", "value" : undefined }
{ "_id" : "Ludo", "value" : undefined }
{ "_id" : "Running", "value" : undefined }
{ "_id" : "Shotput", "value" : undefined }
{ "_id" : "Swimming", "value" : undefined }
I am expecting sum of values of scores for each game. What am I doing wrong here?
Perhaps this query might help?
db.games.aggregate(
[
{ $unwind: { path: "$games", preserveNullAndEmptyArrays: true }},
{ $group: {
_id: "$name",
score: { $sum: "$games.score" }
}}
])
Results:
{ "_id" : "Shotput", "score" : 0 }
{ "_id" : "Running", "score" : 0 }
{ "_id" : "Ludo", "score" : 0 }
{ "_id" : "Swimming", "score" : 0 }
{ "_id" : "Badminton", "score" : 96 }
{ "_id" : "Football", "score" : 217 }
{ "_id" : "Cricket", "score" : 0 }
** If still want to use mapreduce...**
The root problem is nested data. Need to refer to the data from the games.score perspective. The mapping function of map reduce requires this logic.
db.games.mapReduce( function(){
var sum_of_score = 0;
if (this.games != undefined) {
for (var i=0; i<this.games.length; i++) {
sum_of_score += this.games[i].score;
}
}
emit(this.name, sum_of_score)
}, function(key, values) { }, {out:"out_scores"});
Query:
db.out_scores.find()
Results:
{ "_id" : "Badminton", "value" : 96 }
{ "_id" : "Cricket", "value" : 0 }
{ "_id" : "Football", "value" : 217 }
{ "_id" : "Ludo", "value" : 0 }
{ "_id" : "Running", "value" : 0 }
{ "_id" : "Shotput", "value" : 0 }
{ "_id" : "Swimming", "value" : 0 }

MongoDB aggregation - group and retrieve ohters fileds

i have a collection with this documents:
{
"_id" : BinData(3,"utMu84VFQk+p6LOEE3Ia3w=="),
"DepartDate" : ISODate("2017-08-14T02:00:00.000+02:00"),
"Origin" : {
"Code" : "MIL",
"City" : "Milano",
"Country" : "IT"
},
"Destination" : {
"Code" : "TIA",
"City" : "Tirana",
"Country" : "AL"
},
"ReturnDate" : ISODate("2017-08-21T18:05:00.000+02:00"),
"SearchDate" : ISODate("2017-07-15T02:00:00.000+02:00"),
"Duration" : 150,
"Price" : "376.79",
"PriceCents" : 37679,
"Currency" : "EUR",
},
{
"_id" : BinData(3,"utMu845468+p6Lertya3w=="),
"DepartDate" : ISODate("2017-08-14T02:00:00.000+02:00"),
"Origin" : {
"Code" : "AOI",
"City" : "Ancona",
"Country" : "IT"
},
"Destination" : {
"Code" : "TIA",
"City" : "Tirana",
"Country" : "AL"
},
"ReturnDate" : ISODate("2017-08-21T18:05:00.000+02:00"),
"SearchDate" : ISODate("2017-07-15T02:00:00.000+02:00"),
"Duration" : 100,
"Price" : "376.79",
"PriceCents" : 37679,
"Currency" : "EUR",
},
.........
.........
I want to group by ONLY Destination.City and return an object with
Destination.City, Destination.Code and count. Like this example:
/* 1 */
{
"_id" : {
"Code" : "PMO",
"City" : "Palermo",
"Country" : "IT"
},
"count" : 184564.0
},
/* 2 */
{
"_id" : {
"Code" : "CAG",
"City" : "Cagliari",
"Country" : "IT"
},
"count" : 130873.0
},
......
......
I tried with this query (i use MongoBooster):
db.parsed_data.aggregate([
{ "$match" : { "Destination.Country" : "IT", "Segments" : { "$elemMatch" : { "Carrier" : "AZ" } } } },
{ "$group" : { "_id" : { "City" : "$Destination.City"}, "count" : { "$sum" : 1 } } },
{ "$project" : {"Destination.Code" : 1, "Destination.City" : 1, "Destination.Country" : 1 }},
{ "$sort" : { "count" : -1 } },
{ "$limit" : 9 }])
It returns grouped by City but it shows only the City Name.
In this way:
/* 1 */
{
"_id" : {
"City" : "Lampedusa"
}
},
/* 2 */
{
"_id" : {
"City" : "Trieste"
}
},
This is not correct.
How can i group by ONLY the Destination.City and return an object with
Destination.City, Destination.Code and count?
Thx

mongoDB limit the number of entries scanned

I'm trying mongoDB and I need translate this following SQL query.
SELECT * FROM infos_cli
WHERE MATCH(denomination) AGAINST('cafe')
WHERE code_postal LIKE '34%'
My full text index definition:
db.infos_cli.createIndex(
{ "code_postal": 1,
"denomination": "text"
},
{default_language: "french"},
{name: "indexSerch"}
)
And my query in mongoDb:
db.infos_cli.find({code_postal : /34/, $text: {$search: "cafe"}})
But it's not working.
Can anyone explain how I've to do ?
In this case please create separate index for postal field and for text search
db.articles.createIndex({ author : 1}) //postal... in your case
db.articles.createIndex({
"denomination" : "text"
}, {
default_language : "french"
}, {
name : "indexSerch"
})
my query
db.getCollection('articles').find({
$text : {
$search : "coffee",
$language : "french"
}
}).explain()
Result shows that there is TEXT phase and IXSCAN which is desired!
result from explain:
{
"queryPlanner" : {
"plannerVersion" : 1,
"namespace" : "testCode.articles",
"indexFilterSet" : false,
"parsedQuery" : {
"$text" : {
"$search" : "coffee",
"$language" : "french",
"$caseSensitive" : false,
"$diacriticSensitive" : false
}
},
"winningPlan" : {
"stage" : "TEXT",
"indexPrefix" : {},
"indexName" : "denomination_text",
"parsedTextQuery" : {
"terms" : [
"coffe"
],
"negatedTerms" : [],
"phrases" : [],
"negatedPhrases" : []
},
"inputStage" : {
"stage" : "TEXT_MATCH",
"inputStage" : {
"stage" : "TEXT_OR",
"inputStage" : {
"stage" : "IXSCAN",
"keyPattern" : {
"_fts" : "text",
"_ftsx" : 1
},
"indexName" : "denomination_text",
"isMultiKey" : false,
"isUnique" : false,
"isSparse" : false,
"isPartial" : false,
"indexVersion" : 1,
"direction" : "backward",
"indexBounds" : {}
}
}
}
},
"rejectedPlans" : []
},
"serverInfo" : {
"host" : "gbernas3-lt",
"port" : 27017,
"version" : "3.2.0",
"gitVersion" : "45d947729a0315accb6d4f15a6b06be6d9c19fe7"
},
"ok" : 1
}
any comments welcome!