====== SolR en vrac ====== ===== # de linhas dins una requesta ===== ==== Far una requesta infinita ==== Normalament lo nombre de linhas defaulta a 10, l'estrategia es de botar explicitament un nombre de linhas amb una valor giganta.\\ ex : **rows=10000000** detz milions. http://vertigo.acc.fr:8983/solr/gettingstarted/select?fl=term_clean,%20term,%20GRACE,dictionary&indent=on&q=term_clean:*ment&rows=10000000&wt=json [[https://wiki.apache.org/solr/CommonQueryParameters#rows]] ==== Far una requesta amb un camp sens doblon (amb las facetas)==== * **q=term_clean:*al** # torna los term_clean que s'acavan amb -al * **facet.field=term_clean** # lo camp que la faceta puncha dessus es term_clean * **facet=on** # lo mecanisme de faceta es enregat * **facet.sort=index** # la tièra tornada es destriada lexicograficament, mas foncciona pas * **omitHeader=true** # volèm pas d'entesta * **rows=10000000** # lo nombre d'enregistraments tornats es infinit * **wt=json** # lo format tornat es JSON http://vertigo.acc.fr:8983/solr/gettingstarted/select?facet.field=term_clean&facet=on&facet.sort=index&fl=term_clean&hl=on&indent=on&q=term_clean:*al&rows=10000000&wt=json&omitHeader=true { "response":{"numFound":2374,"start":0,"maxScore":1.0,"docs":[ { "term_clean":["abissal"]}, { "term_clean":["accidental"]}, { "term_clean":["acorral"]}, { "term_clean":["actual"]}, { "term_clean":["aiçaval"]}, { "term_clean":["aiga-sal"]}, { "term_clean":["airal"]}, { "term_clean":["aital"]}, { "term_clean":["al"]}, { "term_clean":["amagatal"]}, { "term_clean":["amoniacal"]}, { "term_clean":["amoral"]}, { "term_clean":["aquital"]}, { "term_clean":["arbitral"]}, { "term_clean":["armorial"]}, { "term_clean":["artificial"]}, { "term_clean":["atal"]}, { "term_clean":["aval"]}, { "term_clean":["azimutal"]}, { "term_clean":["bal"]}, { "term_clean":["banal"]}, { "term_clean":["besal"]}, { "term_clean":["bestial"]}, { "term_clean":["bifocal"]}, { "term_clean":["bimensual"]}, { "term_clean":["bimestral"]}, { "term_clean":["bisannual"]}, { "term_clean":["bisbal"]}, { "term_clean":["bisexual"]}, { "term_clean":["bocal"]}, { "term_clean":["braçal"]}, { "term_clean":["branquial"]}, { "term_clean":["cabal"]}, { "term_clean":["cabeçal"]}, { "term_clean":["cachal"]}, { "term_clean":["cadieral"]}, { "term_clean":["caissal"]}, { "term_clean":["campanal"]}, ... }