Re: Indexed, but cannot search

2011-03-02 Thread Brian Lamb
So here's something interesting. I did a delta import this morning and it looks like I can do a global search across those fields. I'll do another full import and see if that fixed the problem. I had done a fullimport after making this change but it seems like another reindex is in order. On Wed,

Re: Indexed, but cannot search

2011-03-02 Thread Markus Jelsma
Please also provide analysis part of fieldType text. You can also use Luke to inspect the index. http://localhost:8983/solr/admin/luke?fl=globalField&numTerms=100 On Wednesday 02 March 2011 16:09:33 Brian Lamb wrote: > Here are the relevant parts of schema.xml: > > multiValued="true"/> > glob

Re: Indexed, but cannot search

2011-03-02 Thread Brian Lamb
Here are the relevant parts of schema.xml: globalField This is what is returned when I search: - 0 1 - Mammal true - Mammal Mammal globalField:mammal globalField:mammal LuceneQParser - 1.0 - 1.0 - 1.0 - 0.0 - 0.0 - 0.0 - 0.0 - 0.0 - 0.0 - 0.0 - 0.0 - 0.0 - 0.0 -

Re: Indexed, but cannot search

2011-03-01 Thread Markus Jelsma
Hmm, please provide analyzer of text and output of debugQuery=true. Anyway, if field type is fieldType text and the catchall field text is fieldType text as well and you reindexed, it should work as expected. > Oh if only it were that easy :-). I have reindexed since making that change > which

Re: Indexed, but cannot search

2011-03-01 Thread Brian Lamb
Oh if only it were that easy :-). I have reindexed since making that change which is how I was able to get the regular search working. I have not however been able to get the search across all fields to work. On Tue, Mar 1, 2011 at 3:01 PM, Markus Jelsma wrote: > Traditionally, people forget to r

Re: Indexed, but cannot search

2011-03-01 Thread Markus Jelsma
Traditionally, people forget to reindex ;) > Hi all, > > The problem was that my fields were defined as type="string" instead of > type="text". Once I corrected that, it seems to be fixed. The only part > that still is not working though is the search across all fields. > > For example: > > htt

Re: Indexed, but cannot search

2011-03-01 Thread Brian Lamb
Hi all, The problem was that my fields were defined as type="string" instead of type="text". Once I corrected that, it seems to be fixed. The only part that still is not working though is the search across all fields. For example: http://localhost:8983/solr/select/?q=type%3AMammal Now correctly

Re: Indexed, but cannot search

2011-03-01 Thread Upayavira
Next question, do you have your "type" field set to index="true" in your schema? Upayavira On Tue, 01 Mar 2011 11:06 -0500, "Brian Lamb" wrote: > Thank you for your reply but the searching is still not working out. For > example, when I go to: > > http://localhost:8983/solr/select/?q=*%3A*

Re: Indexed, but cannot search

2011-03-01 Thread Edoardo Tosca
Hi, i'm not sure if it is a typo, anyway the second query you mentioned should be: http://localhost:8983/solr/select/?q=type:* HTH, Edo On Tue, Mar 1, 2011 at 4:06 PM, Brian Lamb wrote: > Thank you for your reply but the searching is still not working out. For > example, when I go to: > > http:

Re: Indexed, but cannot search

2011-03-01 Thread Brian Lamb
Thank you for your reply but the searching is still not working out. For example, when I go to: http://localhost:8983/solr/select/?q=*%3A* I get the following as a response: Mammal 1 Canis (plu

Re: Indexed, but cannot search

2011-02-28 Thread Upayavira
q=dog is equivalent to q=text:dog (where the default search field is defined as text at the bottom of schema.xml). If you want to specify a different field, well, you need to tell it :-) Is that it? Upayavira On Mon, 28 Feb 2011 15:38 -0500, "Brian Lamb" wrote: > Hi all, > > I was able to get

Indexed, but cannot search

2011-02-28 Thread Brian Lamb
Hi all, I was able to get my installation of Solr indexed using dataimport. However, I cannot seem to get search working. I can verify that the data is there by going to: http://localhost:8983/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on This gives me the response: But when I go