Solr is designed to do exactly this very, very fast. So there isn't a faster way to do it. But you only need to fetch the URL field. You can ignore everything else.
wunder On Jun 23, 2014, at 9:32 PM, Jorge Luis Betancourt Gonzalez <jlbetanco...@uci.cu> wrote: > Basically given a few search terms (query) the idea is to know given one or > more terms in which position your website is located for those specific terms. > > On Jun 24, 2014, at 12:12 AM, Aman Tandon <amantandon...@gmail.com> wrote: > >> What kind of search criteria, could you please explain >> >> With Regards >> Aman Tandon >> >> >> On Tue, Jun 24, 2014 at 4:30 AM, Jorge Luis Betancourt Gonzalez < >> jlbetanco...@uci.cu> wrote: >> >>> I’m using Solr for an analytic use case, one of the requirements is >>> basically given a search query get the position of the first hit. I’m >>> indexing web pages, so given a search criteria the client want’s to know >>> the position (first occurrence) of his webpage in the result set (if it >>> appears at all). Is any way of getting this position without iterating and >>> manually checking the solr response? >>> >>> Greetings, >>> >>> >>> VII Escuela Internacional de Verano en la UCI del 30 de junio al 11 de >>> julio de 2014. Ver www.uci.cu >>> > > VII Escuela Internacional de Verano en la UCI del 30 de junio al 11 de julio > de 2014. Ver www.uci.cu