I totally empathize about the sense of wasted time.  On Solr in particular
I pulled my hair out for months - and I had access to people who had been
using it for over two years!!!

For what it's worth - this is kind of how it goes with most open source
projects in my experience.  It's painful - and - the more moving parts the
open source project has, the more painful the learning curve (usually)...

But - the good news is that's why this list is here - we're all trying to
help each other, so feel free to ping the list sooner rather than later
when you're frustrated.  My new rule is one hour of being blocked...  I
used to wait days - but everyone on the list seems to really understand how
frustrating it is to be stuck and people have really taken time to help me
- so I'm less hesitant.  And, of course, I try to pay it forward by
contributing as much as I can in the same way.

On that note: I've been particularly focused on working with Solr in terms
of being able to keep upgrading simple by just replacing and re-indexing so
if you have questions on that space (Disaster Recovery, Zookeeper config,
etc) I may be able to help - and if you're looking for "plan" for building
and maintaining a simple solrCloud working model on Ubuntu VMs on
VirtualBox, I can *really* help you.

Off the top of my head - some places to start:

http://yonik.com/getting-started-with-solr/
https://www.quora.com/What-is-the-best-way-to-learn-SOLR
http://blog.outerthoughts.com/2015/11/learning-solr-comprehensively/
http://www.solr-start.com/

I think everyone responsible for those links is also a frequent "helper" on
this email forum.

Also (and I'm aware it's a glass half-full thing which frequently irritates
me, but I'll say it anyway).  Having run into this problem I'm willing to
wager you'll never forget this particular quirk and if you see the problem
in future, you'll know exactly what's wrong.  It shouldn't have been
"wrong" with the example, but for my part at least - I've begun to think of
stuff like this as just part of the learning curve because it happens
nearly every time.

Software is hard - complex projects like SOLR are hard.  It's why we get
paid to do stuff like this.  I'm actually getting paid pretty well right
now because Solr is recognized as difficult and I have (with many thanks to
this list) become known as someone who "knows Solr"...

It *could* and *should* be better, but open source is what it is as a
result of the sum total of what everyone has contributed - and we're all
happy to help you as best we can.



On Fri, Sep 16, 2016 at 11:13 AM, Pritchett, James <
jpritch...@learningally.org> wrote:

> Second possibility: You've somehow indexed fields as
> "string" type rather than one of the text based fieldTypes.
> "string" types are not tokenized, thus a field with
> "My dog has fleas" will fail to find "My". It'll even not match
> "my dog has fleas" (note capital "M").
>
> That appears to be the issue. Searching for name:Foundation indeed returns
> the expected result. I will now go find some better entry point to SOLR
> than the tutorial, which has wasted enough of my time for one day. Any
> suggestions would be welcome.
>
> James
>
> On Fri, Sep 16, 2016 at 11:40 AM, Erick Erickson <erickerick...@gmail.com>
> wrote:
>
> > My bet:
> > the fields (look in managed_schema or, possibly schema.xml)
> > has stored="true" and indexed="false" set for the fields
> > in question.
> >
> > Pretty much everyone takes a few passes before this really
> > makes sense. "stored" means you see the results returned,
> > "indexed" must be true before you can search on something.
> >
> > Second possibility: You've somehow indexed fields as
> > "string" type rather than one of the text based fieldTypes.
> > "string" types are not tokenized, thus a field with
> > "My dog has fleas" will fail to find "My". It'll even not match
> > "my dog has fleas" (note capital "M").
> >
> > The admin UI>>select core>>analysis page will show you
> > lots of this kind of detail, although I admit it takes a bit to
> > understand all the info (do un-check the "verbose" button
> > for the nonce).
> >
> > Now, all that aside, please show us the field definition for
> > one of the fields in question and, as John mentions, the exact
> > query (I'd also ass &debugQuery=true to the results).
> >
> > Saying you followed the exact instructions somewhere isn't
> > really helpful. It's likely that there's something innocent-seeming
> > that was done differently. Giving the information asked for
> > will help us diagnose what's happening and, perhaps,
> > improve the docs if we can understand the mis-match.
> >
> > Best,
> > Erick
> >
> > On Fri, Sep 16, 2016 at 8:28 AM, Pritchett, James
> > <jpritch...@learningally.org> wrote:
> > > I am following the exact instructions in the tutorial: copy and pasting
> > all
> > > commands & queries from the tutorial:
> > > https://lucene.apache.org/solr/quickstart.html. Where it breaks down
> is
> > > this one:
> > >
> > > http://localhost:8983/solr/gettingstarted/select?wt=json&;
> > indent=true&q=name:foundation
> > >
> > > This returns no results. Tried in the web admin view as well, also
> tried
> > > various field:value combinations to no avail. Clearly something didn't
> > get
> > > configured correctly, but I saw no error messages when running all the
> > data
> > > loads, etc. given in the tutorial.
> > >
> > > Sorry to be so clueless, but I don't really have anything to go on for
> > > troubleshooting besides asking dumb questions.
> > >
> > > James
> > >
> > > On Fri, Sep 16, 2016 at 11:24 AM, John Bickerstaff <
> > j...@johnbickerstaff.com
> > >> wrote:
> > >
> > >> Please share the exact query syntax?
> > >>
> > >> Are you using a collection you built or one of the examples?
> > >>
> > >> On Fri, Sep 16, 2016 at 9:06 AM, Pritchett, James <
> > >> jpritch...@learningally.org> wrote:
> > >>
> > >> > I apologize if this is a really stupid question. I followed all
> > >> > instructions on installing Tutorial, got data loaded, everything
> works
> > >> > great until I try to query with a field name -- e.g.,
> > name:foundation. I
> > >> > get zero results from this or any other query which specifies a
> field
> > >> name.
> > >> > Simple queries return results, and the field names are listed in
> those
> > >> > results correctly. But if I query using names that I know are there
> > and
> > >> > values that I know are there, I get nothing.
> > >> >
> > >> > I figure this must be something basic that is not right about the
> way
> > >> > things have gotten set up, but I am completely blocked at this
> point.
> > I
> > >> > tried blowing it all away and restarting from scratch with no luck.
> > Where
> > >> > should I be looking for problems here? I am running this on a
> MacBook,
> > >> OS X
> > >> > 10.9, latest JDK (1.8).
> > >> >
> > >> > James
> > >> >
> > >> > --
> > >> >
> > >> >
> > >> > *James Pritchett*
> > >> >
> > >> > Leader, Process Redesign and Analysis
> > >> >
> > >> > ______________________________
> > >> >
> > >> >
> > >> > *Learning Ally™*Together It’s Possible
> > >> > 20 Roszel Road | Princeton, NJ 08540 | Office: 609.243.7608
> > >> >
> > >> > jpritch...@learningally.org
> > >> >
> > >> > www.LearningAlly.org <http://www.learningally.org/>
> > >> >
> > >> > Join us in building a community that helps blind, visually impaired
> &
> > >> > dyslexic students thrive.
> > >> >
> > >> > Connect with our community: *Facebook*
> > >> > <https://www.facebook.com/LearningAlly.org> | *Twitter*
> > >> > <https://twitter.com/Learning_Ally> | *LinkedIn*
> > >> > <https://www.linkedin.com/groups?home=&gid=2644842&trk=anet_ug_hm>
> |
> > >> > *Explore1in5* <http://www.explore1in5.org/> | *Instagram*
> > >> > <https://instagram.com/Learning_Ally/> | *Sign up for our community
> > >> > newsletter* <https://go.learningally.org/
> about-learning-ally/stay-in-
> > >> > touch/>
> > >> >
> > >> > Support us: *Donate*
> > >> > <https://go.learningally.org/about-learning-ally/donate/> |
> > *Volunteer*
> > >> > <https://go.learningally.org/about-learning-ally/
> > >> > volunteers/how-you-can-help/>
> > >> >
> > >>
> > >
> > >
> > >
> > > --
> > >
> > >
> > > *James Pritchett*
> > >
> > > Leader, Process Redesign and Analysis
> > >
> > > ______________________________
> > >
> > >
> > > *Learning Ally™*Together It’s Possible
> > > 20 Roszel Road | Princeton, NJ 08540 | Office: 609.243.7608
> > >
> > > jpritch...@learningally.org
> > >
> > > www.LearningAlly.org <http://www.learningally.org/>
> > >
> > > Join us in building a community that helps blind, visually impaired &
> > > dyslexic students thrive.
> > >
> > > Connect with our community: *Facebook*
> > > <https://www.facebook.com/LearningAlly.org> | *Twitter*
> > > <https://twitter.com/Learning_Ally> | *LinkedIn*
> > > <https://www.linkedin.com/groups?home=&gid=2644842&trk=anet_ug_hm> |
> > > *Explore1in5* <http://www.explore1in5.org/> | *Instagram*
> > > <https://instagram.com/Learning_Ally/> | *Sign up for our community
> > > newsletter* <https://go.learningally.org/about-learning-ally/stay-in-
> > touch/>
> > >
> > > Support us: *Donate*
> > > <https://go.learningally.org/about-learning-ally/donate/> |
> *Volunteer*
> > > <https://go.learningally.org/about-learning-ally/
> > volunteers/how-you-can-help/>
> >
>
>
>
> --
>
>
> *James Pritchett*
>
> Leader, Process Redesign and Analysis
>
> ______________________________
>
>
> *Learning Ally™*Together It’s Possible
> 20 Roszel Road | Princeton, NJ 08540 | Office: 609.243.7608
>
> jpritch...@learningally.org
>
> www.LearningAlly.org <http://www.learningally.org/>
>
> Join us in building a community that helps blind, visually impaired &
> dyslexic students thrive.
>
> Connect with our community: *Facebook*
> <https://www.facebook.com/LearningAlly.org> | *Twitter*
> <https://twitter.com/Learning_Ally> | *LinkedIn*
> <https://www.linkedin.com/groups?home=&gid=2644842&trk=anet_ug_hm> |
> *Explore1in5* <http://www.explore1in5.org/> | *Instagram*
> <https://instagram.com/Learning_Ally/> | *Sign up for our community
> newsletter* <https://go.learningally.org/about-learning-ally/stay-in-
> touch/>
>
> Support us: *Donate*
> <https://go.learningally.org/about-learning-ally/donate/> | *Volunteer*
> <https://go.learningally.org/about-learning-ally/
> volunteers/how-you-can-help/>
>

Reply via email to