Thanks for answering on a Sunday :-)

What happens if the query returns extra fields that are not specified in the 
config.xml?

And does the unque field have to be named 'id'?

Dennis Gearon

Signature Warning
----------------
It is always a good idea to learn from your own mistakes. It is usually a 
better idea to learn from others’ mistakes, so you do not have to make them 
yourself. from 'http://blogs.techrepublic.com.com/security/?p=4501&tag=nl.e036'

EARTH has a Right To Life,
  otherwise we all die.


--- On Sun, 10/10/10, Erick Erickson <erickerick...@gmail.com> wrote:

> From: Erick Erickson <erickerick...@gmail.com>
> Subject: Re: Records from DIH not easily queried for
> To: solr-user@lucene.apache.org
> Date: Sunday, October 10, 2010, 8:11 AM
> The phrase that jumps out is "with
> fields slightly modified". I'm
> guessing that your modifications are off by a little.
> Here's what
> I'd check first:
> 1> check the case. Sometimes the DB <-> field link
> is case
> sensitive.
> 2> Look in your index via the admin page and look at
> your actual
> fields as reported there. Are they really what you expect?
> 3> Try your query with &debugQuery=on. Is what you
> get back
> what you expect?
> 4> Sometimes your browser cache will fool you, try the
> force-refresh
> combination on your browser.
> 
> There's no magic here, nothing special or different about
> DIH
> imported data than any other sort. So it's almost
> certainly
> some innocent-seeming change that's not, typo, incorrect
> assumption, etc.
> 
> If none of that works, you need to post your schema changes
> and
> your query results (with &debugQuery=on). Particularly,
> post
> the fieldType definitions as well as your field
> definitions...
> 
> Best
> Erick
> 
> On Sun, Oct 10, 2010 at 10:55 AM, Dennis Gearon <gear...@sbcglobal.net>wrote:
> 
> > With a brand new setup, per the demo/tutorial, with
> fields slightly changed
> > in the config and data, posting XML records results in
> a simple qiery being
> > able to find records.
> >
> >
> > But records imported via a plain jane DIH request can
> only be found using
> > 'q=*:*' queries.
> >
> > There's no filtering, tokenizing, blah blah. It's the
> factory settings. The
> > installation is as new at this as we are :-)
> >
> > Anyone have any ideas why we can't query for DIH
> handled records? Do they
> > have some magic juju done to them that XML Posts
> don't, or visa versa?
> >
> > Dennis Gearon
> >
> > Signature Warning
> > ----------------
> > It is always a good idea to learn from your own
> mistakes. It is usually a
> > better idea to learn from others’ mistakes, so you
> do not have to make them
> > yourself. from '
> > http://blogs.techrepublic.com.com/security/?p=4501&tag=nl.e036'
> >
> > EARTH has a Right To Life,
> >  otherwise we all die.
> >
>

Reply via email to