lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From revathy arun <revas...@gmail.com>
Subject Re: multilanguage prototype
Date Tue, 27 Jan 2009 11:56:44 GMT
Hi Shalin,

The admin page stats are as follows
searcherName : Searcher@1d4c3d5 main
caching : true
numDocs : 0
maxDoc : 0

*name: * /update  *class: * org.apache.solr.handler.XmlUpdateRequestHandler
 *version: * $Revision: 690026 $  *description: * Add documents with XML  *
stats: *handlerStart : 1232692774389
requests : 22
errors : 11
timeouts : 0
totalTime : 1181
avgTimePerRequest : 53.68182
avgRequestsPerSecond : 6.0431463E-5

*stats: *commits : 9
autocommits : 0
optimizes : 2
docsPending : 0
adds : 0
deletesById : 0
deletesByQuery : 0
errors : 0
cumulative_adds : 0
cumulative_deletesById : 0
cumulative_deletesByQuery : 0
cumulative_errors : 0

in the solrconfg.xml i have commented this line


<!-- Used to specify an alternate directory to hold all index data

other than the default ./data under the Solr home.

If replication is in use, this should match the replication configuration.

<dataDir>${solr.data.dir:./solr/data}</dataDir>

-->

so the index will be created in the default data folder under solr home,



Thanks for ur time

regards

sujatha
On 1/27/09, Shalin Shekhar Mangar <shalinmangar@gmail.com> wrote:
>
> Are you looking for it in the right place? It is very unlikely that a
> commit
> happens and index is not created.
>
> The index is usually created inside the data directory as configured in
> your
> solconfig.xml
>
> Can you search for *:* from the solr admin page and see if documents are
> returned?
>
> On Tue, Jan 27, 2009 at 5:01 PM, revathy arun <revas.34@gmail.com> wrote:
>
> > this is the stats of my updatehandler
> > but i still dont see any index created
> > *stats: *commits : 7
> > autocommits : 0
> > optimizes : 2
> > docsPending : 0
> > adds : 0
> > deletesById : 0
> > deletesByQuery : 0
> > errors : 0
> > cumulative_adds : 0
> > cumulative_deletesById : 0
> > cumulative_deletesByQuery : 0
> > cumulative_errors : 0
> >
> > regards
> >
> > On 1/27/09, revathy arun <revas.34@gmail.com> wrote:
> > >
> > > Hi
> > >
> > > I have committed.The admin page does not show any docs pending or
> > committed
> > > or any errors.
> > >
> > > Regards
> > > Sujatha
> > >
> > >
> > >  On 1/27/09, Shalin Shekhar Mangar <shalinmangar@gmail.com> wrote:
> > >>
> > >> Did you commit after the updates?
> > >>
> > >> 2009/1/27 revathy arun <revas.34@gmail.com>
> > >>
> > >> > Hi,
> > >> >
> > >> > I have downloade solr1.3.0 .
> > >> >
> > >> > I need to index chinese content ,for this i have defined a new field
> > in
> > >> the
> > >> > schema
> > >> >
> > >> > as
> > >> >
> > >> >
> > >> > <fieldType name="text_cjk" class="solr.TextField"
> > >> > positionIncrementGap="100">
> > >> >
> > >> > <analyzer type="index">
> > >> >
> > >> > <tokenizer class="solr.CJKTokenizerFactory"/>
> > >> >
> > >> > </analyzer>
> > >> >
> > >> > <analyzer type="query">
> > >> >
> > >> > <tokenizer class="solr.CJKTokenizerFactory"/>
> > >> >
> > >> > </analyzer>
> > >> >
> > >> > </fieldType>
> > >> >
> > >> >
> > >> >
> > >> > I beleive solr1.3 already has the cjkanalyzer by default.
> > >> >
> > >> > my schema in the testing stage has only 2 fields
> > >> >
> > >> > <field name="id" type="string" indexed="true" stored="true"
> > >> required="true"
> > >> > />
> > >> >
> > >> > <field name="content" type="text_cjk" indexed="true" stored="false"
> />
> > >> >
> > >> >
> > >> >
> > >> > However when i index the chinese text into content , no index is
> being
> > >> > created.i dont see any errors in tomcat as well .
> > >> >
> > >> > this is only entry in tomcat on updating
> > >> >
> > >> > Jan 27, 2009 3:46:15 PM org.apache.solr.core.SolrCore execute
> > >> > INFO: [] webapp=/lang_prototype path=/update params={} status=0
> > >> QTime=191
> > >> >
> > >> >  I have attached the chinese text file for reference.
> > >> >
> > >> >
> > >> >
> > >> > Regards
> > >> >
> > >> > sujatha
> > >> >
> > >> >
> > >> >
> > >>
> > >>
> > >>
> > >> --
> > >> Regards,
> > >> Shalin Shekhar Mangar.
> > >>
> > >
> > >
> >
>
>
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message