> I enter Chinese chars in the admin console for searching
> matched documents, it does not return any though I have
> uploaded some documents that has Chinese chars.
Could it be URI Charset Config?
http://wiki.apache.org/solr/SolrTomcat#URI_Charset_Config
Hello,
there is a recommendation (best practice) for the use of
EmbeddedSolrServer? We use it, because we have in our application an
EJB module with Message Drive Bean. Now, we create the
EmbeddedSolrServer (http://wiki.apache.org/solr/Solrj #
EmbeddedSolrServer) in a javax.servlet.ServletContextL
Hello,
I got the problem solved. The issue was I was setting the wrong field name
in the qf parameter of my request handler.
Thanks.
Regards,
Indika
On 27 June 2010 08:52, Indika Tantrigoda wrote:
> Hello,
>
>
> Applying the NGramFilterFactory for analyzer type="query" didnt solve the
> issue
Most likely explanation: the Analyzer you're using at
query time isn't matching what the Analyzer does
at index time. For instance, the casing is different
(or a myriad of other things). Or you're not actually
querying on the field you think you are.
Please post the definitions for the field from
Thanks for the link to "how to post" - not sure how to interpret that. I
already posted the fields definition from the schema, the query I'm trying
to submit, and the results. I'm not sure what more I can post. I get 0
results, and when I turn debug on it doesn't provide anything meaningful.
P
What is the default search field? Is it "ALL" or did you change it? If it is
"ALL" are you copying your data to ALL?
Instead of searching for "*:*" does it show results if you search for
"id:ZS1"?
Binesh Gummadi
On Sun, Jun 27, 2010 at 2:12 PM, codar wrote:
>
> Thanks for the link to "how t
I just noticed that field compression (e.g. compressed="true") is no longer
in Solr, nor can I find why this was done. Can a committer offer an
explanation? If the reason is that it eats up CPU, then I'd rather accept
this tradeoff for a big-data yet small query volume use case.
~ David Smiley
Binesh,
Great advice.
Yes, it does show results when I search for id:ZS1, COL:RW, and TI:MAC,
but strangely it does not show results when I try AD:ZS1 or AN:ZS1.
Also, I'm not sure where to find the default field, so I'm fairly certain I
didn't change it. I'm entering the querytex
> Yes, it does show results when I search for id:ZS1,
> COL:RW, and TI:MAC,
> but strangely it does not show results when I try
> AD:ZS1 or AN:ZS1.
What is the output of q=AD:ZS1&debugQuery=on
> Also, I'm not sure where to find the default field, so I'm
> fairly certain I didn't
Well, all I can say is that a fresh download of 1.4.1 and cutting and
pasting your exact fields and putting them into my schema.xml,
copying and pasting your exact document into a new document
and indexing it (./post.jar eoe.xml) and then running any of the
4 queries you indicated works fine for me
Hi,
I am using the sample, not deploying Solr in Tomcat. Is there a place I can
modify this setting ?
thanks,
canal
From: Ahmet Arslan
To: solr-user@lucene.apache.org
Sent: Sun, June 27, 2010 4:47:15 PM
Subject: Re: Chinese chars are not indexed ?
> I enter
Jeff,
It should be in schema.xml at the end of the file. Look for the following.
all
To copy your fields to the default search field you should have something
like this.
Once you do that you should be able to search for ZS1. As others
suggested you should look at your index using Lu
Otis,
Belated thanks for your reply.
>> 2. "The index could change between stages, e.g. a
>> document that matched a
>> query and was subsequently changed may no
>> longer match but will still be
>> retrieved."
> 2. This describes the situation where, for instance, a
> document with ID=10 is upd
On May 22, 2010, at 11:25am, Ryan McKinley wrote:
accidentally hit send...
Eache core can have the dataDir set explicitly.
If you want to do this with solrj, you would need to manipulate the
CoreDescriptor objects.
I'm hoping somebody can clarify what's up with the CoreDesc
I want to delete all index and rebuild index frequently. I can't
delete the index files directly because I want to use replication
On May 22, 2010, at 11:24am, Ryan McKinley wrote:
Check:
http://wiki.apache.org/solr/CoreAdmin
Unless I'm missing something, I think you should be able to sort
what you need
If I'm using SolrJ, is there a programmatic way to force a reload of a
core?
This, of course, assumes that I'm a
Answering my own question...
I can use CoreContainer.reload("core name") to force a reload.
I assume that if I've got an EmbeddedSolrServer running at the time I
do this reload, everything will happen correctly under the covers.
So now I just need to find out how to programmatically change s
Sort of answering my own question here too...
It seems like I need to get the current core, and use that to
instantiate a new SolrCore with the same exact config, other than the
dataDir.
The documentation for SolrCore()'s constructor says:
"If a core with the same name already exists, it w
> I am using the sample, not deploying Solr in Tomcat. Is
> there a place I can modify this setting ?
Ha, okey if you are using jetty with java -jar start.jar then it is okey.
But for Chinese you need special tokenizer since Chinese is written without
spaces between words.
Or you can search
19 matches
Mail list logo