lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Solr: query in admin and where is my data?
Date Wed, 16 Jun 2010 13:59:33 GMT
Hello,

A1: you can search and commit concurrently.  Sounds like you are using 1 box with Solr to
both index and search.  Solr is typically deployed a multi-node cluster where 1 of those nodes
is a master that does all indexing, and 1 or more slaves perform searches.
A2: *:* is correct
A3: maybe the searcher hasn't been reopened yet?

 Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



----- Original Message ----
> From: "cstc@swansea.ac.uk" <cstc@swansea.ac.uk>
> To: solr-user@lucene.apache.org
> Cc: Robert Laramee <R.S.Laramee@swansea.ac.uk>; Max Wilson <M.L.Wilson@swansea.ac.uk>
> Sent: Wed, June 16, 2010 9:32:35 AM
> Subject: Re: Solr: query in admin and where is my data?
> 
> Hello,

Thank you for your help.

Q1: Do I have to wait until all 
> the data is fully committed before querying?
Q2: I put '*:*' (without quotes) 
> in the admin query box. Is that the correct
syntax for a search?
Q3: Why 
> did it come back with no results if the data is being committed?

Again, 
> any help would be much appreciated.

Regards,

Tim


> 
> Hello,
>
> Yes, this looks like it's working correctly - it looks 
> like the docs are getting
> committed.
> You should see some logging 
> messages about the searcher being reloaded after the
> commit.  When 
> that happens you will see your changes in the 
> index.
>
>
>
> Otis
> ----
> Sematext :: 
> href="http://sematext.com/" target=_blank >http://sematext.com/ :: Solr - 
> Lucene - Nutch
> Lucene ecosystem search :: 
> href="http://search-lucene.com/" target=_blank 
> >http://search-lucene.com/
>
>
>
> ----- Original 
> Message ----
>> From: "
> href="mailto:cstc@swansea.ac.uk">cstc@swansea.ac.uk" <
> ymailto="mailto:cstc@swansea.ac.uk" 
> href="mailto:cstc@swansea.ac.uk">cstc@swansea.ac.uk>
>> To: 
> ymailto="mailto:solr-user@lucene.apache.org" 
> href="mailto:solr-user@lucene.apache.org">solr-user@lucene.apache.org
>> 
> Sent: Wed, June 16, 2010 8:02:30 AM
>> Subject: Solr: query in admin 
> and where is my data?
>>
>> Dear Solr gurus,
>
> I 
> am still currently running a script which says that
>> the Solr 
> software is still
> commiting the
>> data:
>
> 
> ==========================
> INFO: [] Registered new searcher
>> 
> Searcher@3b48a17a main
> Jun 16, 2010 12:56:58 PM
>> 
> org.apache.solr.search.SolrIndexSearcher close
> INFO: Closing
>> 
> Searcher@515dafc8 main
>
>> 
> fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
>
>> 
> filterCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
>
>> 
> queryResultCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
>
>> 
> documentCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}
> 
> Jun
>> 16, 2010 12:56:58 PM 
> org.apache.solr.update.processor.LogUpdateProcessor
>> finish
> 
> INFO: {commit=} 0 2115
> Jun 16, 2010 12:56:58 PM
>> 
> org.apache.solr.core.SolrDeletionPolicy onInit
> INFO:
>> 
> SolrDeletionPolicy.onInit: commits:num=1
>
>> 
> commit{dir=/.../.../solr/apache-solr-1.4.0/example/solr/data/index,segFN=segments_ev,version=1274385193589,generation=535,filenames=[_em.fnm,
> 
> _em.fdt,
>> _en.fnm, _em.tis, _em.tvx, _en.prx, _em.frq, _em.tvf, 
> _em.tvd,
> _en.tis,
>> _em.nrm, _en.nrm, _em.prx, _en.fdt, 
> _en.tii, _en.frq, segments_ev,
> _en.tvd,
>> _em.fdx, _en.fdx, 
> _en.tvf, _en.tvx, _em.tii]
> Jun 16, 2010 12:56:58 PM
>> 
> org.apache.solr.core.SolrDeletionPolicy updateCommits
> INFO: newest 
> commit =
>> 1274385193589
>
> 
> ============================
> Q1: Is it working?
> Q2:
>> 
> Is the data being committed?
>
> Q3: How do I query in 
> Admin?
> I've tried
>> *:* while the script is still running, 
> with no results!
>
> Any help would be
>> much 
> appreciated.
>
> Regards,
>
> Tim
>

Mime
View raw message