Re: indexing but not able to search

2012-02-29 Thread somer81
Hi, No unfortunately I am not able to solve still, For being sure I make it same field like in Solr Schema I mean, for example for my "name" field I used name field in Solr Schema or I did mine "name2" and copied same specifications with "name" field in Solr. Or for my "coord" field I used Solr's s

Re: indexing but not able to search

2012-02-29 Thread vibhoreng04
Hi Sawmya, Are you able to resolve your problem? If not check the field type in the solr schema.It should be text if u r tokenising and searching. -- View this message in context: http://lucene.472066.n3.nabble.com/indexing-but-not-able-to-search-tp3144695p3787592.html Sent from the Solr - User

Re: indexing but not able to search

2012-02-28 Thread somer81
hello did solve this problem. I am a newbie with Solr. I just tried to add a simple XML file to Solr. It works fine adds and indexes but when try to search it I cannot see the docs fields which I described in XML. I see them in schema browser. They look they are indexed. I even tried to give s

Re: indexing but not able to search

2011-07-07 Thread Sowmya V.B.
Thanks Ahmet. Changing the field from String to "text_en" worked! Sorry for all the mails. I should have understood the schema.xml properly before asking the question. Now, I see that schema.xml has description of this field "text_en" ! Sowmya. On Thu, Jul 7, 2011 at 10:24 AM, Ahmet Arslan wro

Re: indexing but not able to search

2011-07-07 Thread Ahmet Arslan
> Thanks for the mail. > But, just a clarification: changing the field type in > schema means I have to > reindex to check if this works, right? Yes. restart servlet container and re-index is required.

Re: indexing but not able to search

2011-07-07 Thread Sowmya V.B.
tokenized. > > > > marking them indexed="true" will make them searchable but they will be > indeed verbatim. > > Try using text_en for example. > > > > > --- On Thu, 7/7/11, Sowmya V.B. wrote: > > From: Sowmya V.B. > Subject: Re: indexing

Re: indexing but not able to search

2011-07-07 Thread Ahmet Arslan
Hello, Your text and title fields are marked as string which is not tokenized. marking them indexed="true" will make them searchable but they will be indeed verbatim. Try using text_en for example. --- On Thu, 7/7/11, Sowmya V.B. wrote: From: Sowmya V.B. Subject: Re: indexi

Re: indexing but not able to search

2011-07-06 Thread Erick Erickson
You're giving contradictory information here. This is NOT the query that you submitted when you did the &debugQuery=on that you sent before. Look in schema.xml for I bet its value is "title". I'm not talking at all about the fact that the schema has title and text fields, I'm looking at the debug

Re: indexing but not able to search

2011-07-06 Thread Sowmya V.B.
Hi Eric Yes, the schema.xml has both title and text fields... and i was changing between them...perhaps, it was "title" when I sent you. I am searching from the admin. this is the URL it gives me, after I click search, from the admin window. http://loalhost:8080/apache-solr-3.3.0/select/?q=head&

Re: indexing but not able to search

2011-07-06 Thread Erick Erickson
About being new... no problem, we all have to learn But this part of your output: query query title:query title:query indicates that something's weird with your query. Can you show the exact URL you use? If you're searching form the admin interface, that will be the URL in the results w

Re: indexing but not able to search

2011-07-06 Thread Sowmya V.B.
Hi Eric 1)Default field in schema.xml : "text", which is the field 2) numDocs = 21501 maxDocs = 21554 3) Attaching debugQuery output with this mail 4) When I search for everything, (*:*)...it shows me all the documents, with their fields. I am new to asking questions on the list..and hence th

Re: indexing but not able to search

2011-07-06 Thread Erick Erickson
OK, there's not much information to go on here. So.. 1> you pasted solrconfig.xml. Schema.xml contains your default field, we need to see that too. 2> you say documents are shown in the stats page. There are two numbers, numDocs and maxDocs. numDocs is the number of documents that have NOT bee

Re: indexing but not able to search

2011-07-06 Thread Sowmya V.B.
I am sorry..I was checking the some other solr instance that ran on this system...when I replied for the previous mail. I still dont get any documents in return to my query...though the index shows a size of some 20K documents. Attaching my solrconfig.xml file with this mail. On Wed, Jul 6, 2011

Re: indexing but not able to search

2011-07-06 Thread Erick Erickson
Note that you can add that to the URL directly, as &fl=* Also, simply querying q=time will look for terms ONLY in the field in your schema.xml defined by in your schema.xml ("text" by default)... Best Erick On Wed, Jul 6, 2011 at 11:08 AM, Sowmya V.B. wrote: > Hi Denis > > I got my answer. > I

Re: indexing but not able to search

2011-07-06 Thread Sowmya V.B.
Hi Denis I got my answer. I should have added * in the defaults list. Sowmya. On Wed, Jul 6, 2011 at 3:57 PM, Sowmya V.B. wrote: > Hi > > Url I am using to search: > > http://localhost:8080/apache-solr-3.3.0/select/?q=time&version=2.2&start=0&rows=10&indent=on > http://localhost:8080/apache-s

Re: indexing but not able to search

2011-07-06 Thread Sowmya V.B.
Hi Url I am using to search: http://localhost:8080/apache-solr-3.3.0/select/?q=time&version=2.2&start=0&rows=10&indent=on http://localhost:8080/apache-solr-3.3.0/admin/stats.jsp - is my stats page. The part of my SolrConfig file, which said searchHandler - had these, which I found on an example o

Re: indexing but not able to search

2011-07-06 Thread Denis Kuzmenok
> Hi All > I indexed a set of documents using Solr, which are shown in the stats page > on the admin panel. > However, the search interface always returns 0 documents to me. > When I give the query as *:*, it does return me all the 20K odd documents I > tried indexing just a few hours back. > Can