The admin/form.jsp is supposed to prepopulate fl= with '*,score' which
means bring back all fields and the calculated relevance score.

This is the Drupal search, decoded. I changed the %2B to + signs for
readability. Have a look at the filter query fq= and the facet date
range.

Also, in Solr 1.4 the 'rord' function has become very slow. So the
Drupal integration needs some updating anyway.

INFO: [] webapp=/solr path=/select
params={spellcheck=true&
spellcheck.q=video&
fl=id,nid,title,comment_count,type,created,changed,score,path,url,uid,name,ss_image_relative&

bf=recip(rord(created),4,19,19)^200.0&

&hl.simple.post=&
hl.simple.pre=&hl=&version=1.2&
hl.fragsize=&
hl.fl=&
hl.snippets=&

facet=true&facet.limit=20&
facet.field=uid&facet.field=type&facet.field=language&
facet.mincount=1&

fq=(nodeaccess_all:0+OR+hash:c13a544eb3ac)&
qf=name^3.0&facet.date=changed&
json.nl=map&wt=json&

f.changed.facet.date.start=2010-02-09T07:01:14Z/HOUR&
f.changed.facet.date.end=2010-02-09T17:44:16Z+1HOUR/HOUR&
f.changed.facet.date.gap=+1HOUR

rows=10&start=0&facet.sort=true&
q=video}
hits=0 status=0 QTime=0

On Tue, Feb 9, 2010 at 1:28 PM, jaybytez <jayby...@yahoo.com> wrote:
>
> I know this is not Drupal, but thought this question maybe more around the
> Solr query.
>
> For instance, I pulled down LucidImaginations Solr install, just like the
> apache solr install and ran the example solr and loaded the documents from
> the exampledocs.
>
> I can go to:
>
> http://localhost:8983/solr/admin/
>
> And search for video and get responses
>
> But on my solr if I go to the full interface and use the defaults, I get no
> results back because of search fields, etc.
>
> http://localhost:8983/solr/admin/form.jsp
>
> So my admin Solr search query looks like this when searching "video":
>
> Feb 9, 2010 1:25:49 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select
> params={explainOther=&fl=&indent=on&start=0&q=video&hl.fl=&qt=&wt=&fq=&version=2.2&rows=10}
> hits=2 status=0 QTime=0
>
> But if I go into Drupal and search "video", this is the query and no results
> come back:
>
> Feb 9, 2010 1:27:33 PM org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select
> params={spellcheck=true&f.changed.facet.date.start=2010-02-09T07:01:14Z/HOUR&facet=true&facet.limit=20&spellcheck.q=video&hl.simple.pre=&hl=&version=1.2&fl=id,nid,title,comment_count,type,created,changed,score,path,url,uid,name,ss_image_relative&bf=recip(rord(created),4,19,19)^200.0&f.changed.facet.date.gap=%2B1HOUR&hl.simple.post=&facet.field=uid&facet.field=type&facet.field=language&fq=(nodeaccess_all:0+OR+hash:c13a544eb3ac)&hl.fragsize=&facet.mincount=1&qf=name^3.0&facet.date=changed&hl.fl=&json.nl=map&wt=json&f.changed.facet.date.end=2010-02-09T17:44:16Z%2B1HOUR/HOUR&rows=10&hl.snippets=&start=0&facet.sort=true&q=video}
> hits=0 status=0 QTime=0
>
> Any thoughts on the search query that gets generated by the Drupal/Solr
> module?
>
> Thanks...jay
> --
> View this message in context: 
> http://old.nabble.com/Solr-Drupal-Integration---Query-Question-tp27522362p27522362.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to