Re: solr unicode problem in query page

2011-09-17 Thread Erik Hatcher
Xue-Feng - 你好 - You'll need to give us some more specifics. *:* will always work, but searching on other strings is entirely dependent on your configuration and the exact query. For us to help, you'll need to share your full query (debugQuery=true helps here) and the related field(s)/type(s)

Glassfish errors: DPL8006 and DPL8007

2011-09-17 Thread Xue-Feng Yang
I have solr deployed in Glassfish 3.1.1. It has the error messages in the following order at the starting up time. WARNING: DPL8007: Unsupported deployment descriptors element schemaLocation value http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-web-app.xsd SEVERE:

Re: solr unicode problem in query page

2011-09-17 Thread Xue-Feng Yang
Thanks-谢谢-Erik. Actually, I just played with http://localhost:8080/solr/cuv/admin/ cuv is the Chinese Union version of Bible. I inputted "content:上帝" in Query String without quotations. It then directs to http://localhost:8080/solr/cuv/select/?q=content%3A%E4%B8%8A%E5%B8%9D&version=2.2&start=0&

Re: solr unicode problem in query page

2011-09-17 Thread Xue-Feng Yang
Here is the return by use of http://localhost:8080/solr/cuv/select/?q=content%3A%C9%CF%B5%DB&version=2.2&start=0&rows=10&indent=on&debugQuery=true 011content:ÉϵÛ2.2010ontruecontent:ÉϵÛcontent:ÉϵÛLuceneQParser6.03.00.00.00.00.00.00.01.01.00.00.00.00.00.0 Basically, it doesn't say anything. _

Re: solr unicode problem in query page

2011-09-17 Thread Xue-Feng Yang
Just a reminder: two returns contains different uni-code while my input doesn't change. You can see this in the following two messages. From: Xue-Feng Yang To: "solr-user@lucene.apache.org" Sent: Saturday, September 17, 2011 9:18:54 AM Subject: Re: solr unicod

Is it possible to use different types of datasource in DIH?

2011-09-17 Thread O. Klein
I want to combine data in XML on disk and XML online. is needed to read all the XML-files on disk and is needed to get the content from XML online. Using them both causes problems as the FileDataSource is being used eventhough the entity specifically calls for datasource="url". Is there wa

Re: Is it possible to use different types of datasource in DIH?

2011-09-17 Thread Ahmet Arslan
> I want to combine data in XML on disk > and XML online. > > /> > > is needed to read all the XML-files on disk and > > encoding="UTF-8" > connectionTimeout="3" readTimeout="3"/> > > is needed to get the content from XML online. > > Using them both causes problems as the FileDataSo

integrate solr and nutch index

2011-09-17 Thread hadi
I want to index my video and image files with solrj api's and index my sites with nutch 1.3,but the problem is : i should overwrite the nutch schema on solr schema to index the sites,if i do this i lost the solr schema and i couldnt index files with solrj,how can i solve this problem ? should i def

Re: Is it possible to use different types of datasource in DIH?

2011-09-17 Thread O. Klein
That doesn't really help. Using multiple datasources of the same type or combination of e.g. FileDataSource and BinURLDataSource is no problem. Using FileDataSource and URLDataSource doesn't work, cause FileDataSource is always being used, even if the entity is using a URLDataSource as datasource

Re: integrate solr and nutch index

2011-09-17 Thread Gora Mohanty
On Sat, Sep 17, 2011 at 5:57 PM, hadi wrote: > I want to index my video and image files with solrj api's and index my sites > with nutch 1.3,but the problem is : > i should overwrite the nutch schema on solr schema to index the sites,if i > do this i lost the solr schema and i couldnt index files

Re: Distinct elements in a field

2011-09-17 Thread Bill Bell
SOLR-2242 can do it. On 9/16/11 2:15 AM, "swiss knife" wrote: >I could get this number by using > > group.ngroups=true&group.limit=0 > > but doing grouping for this seems like an overkill > > Would you advise using JIRA SOLR-1814 ? > >- Original Message - >From: swiss knife >Sent: 09/15/

Re: Distinct elements in a field

2011-09-17 Thread Ken Krugler
On Sep 15, 2011, at 3:43am, swiss knife wrote: > Simple question: I want to know how many distinct elements I have in a field > and these verify a query. Do you know if there's a way to do it today in 3.4. > > I saw SOLR-1814 and SOLR-2242. > > SOLR-1814 seems fairly easy to use. What do you t

Re: Schema fieldType y-m-d ?!?!

2011-09-17 Thread Erick Erickson
Strings, especially if you sort, facet, etc, will be significantly more costly in terms of memory requirements. Doesn't mean you can't, just be aware of the fact... Best Erick On Thu, Sep 15, 2011 at 10:42 AM, stockii wrote: > thx =) > > i think i will save this as an string if ranges really wor

Re: Can index size increase when no updates/optimizes are happening?

2011-09-17 Thread Erick Erickson
I'd guess user error in the absence of stronger information. No docs added, no optimized kicked off, no replication and I can't think of any reason the index size should increase. Erick 2011/9/15 Yury Kats : > On 9/14/2011 2:36 PM, Erick Erickson wrote: >> What is the machine used for? Was your u

Miscellaneous DIH related questions

2011-09-17 Thread Pulkit Singhal
My DIH's full-import logs end with a tailing output saying that 1500 documents were added, which is correct because I have 16 sources and one of them was down and each source is supposed to give me 100 results: (1500 adds)],optimize=} 0 0 But When I check my document count I get only 1384 results:

Re: Generating large datasets for Solr proof-of-concept

2011-09-17 Thread Pulkit Singhal
Thanks Hoss. I agree that the way you restated the question is better for getting results. BTW I think you've tipped me off to exactly what I needed with this URL: http://bbyopen.com/ Thanks! - Pulkit On Fri, Sep 16, 2011 at 4:35 PM, Chris Hostetter wrote: > > : Has anyone ever had to create lar

Re: Add copyTo Field without re-indexing?

2011-09-17 Thread Erick Erickson
Luis: This will only work if *all* the fields have ' stored="true" '. Or at least enough that you can get back all the original data. Fetching a document will not return data for any field that has stored="false"... Best Erick On Fri, Sep 16, 2011 at 2:33 PM, Luis Cappa wrote: > Hello. > > You

Re: Miscellaneous DIH related questions

2011-09-17 Thread Erick Erickson
For (2), look at your admin/stats page. The difference between numDocs and maxDocs is the number of documents that have been deleted from your index... For (3) I don't have a clue about. Best Erick On Sat, Sep 17, 2011 at 7:20 PM, Pulkit Singhal wrote: > My DIH's full-import logs end with a tai

Re: Glassfish errors: DPL8006 and DPL8007

2011-09-17 Thread Erik Hatcher
It's for weblogic. Deleting it won't cause any issues (unless you're deploying to weblogic, but you're not). give it a try. On Sep 17, 2011, at 08:52 , Xue-Feng Yang wrote: > I have solr deployed in Glassfish 3.1.1. It has the error messages in the > following order at the starting up time

Re: Glassfish errors: DPL8006 and DPL8007

2011-09-17 Thread Xue-Feng Yang
I deleted. Thanks. From: Erik Hatcher To: solr-user@lucene.apache.org Sent: Saturday, September 17, 2011 8:44:36 PM Subject: Re: Glassfish errors: DPL8006 and DPL8007 It's for weblogic.  Deleting it won't cause any issues (unless you're deploying to weblogic,

a weird error of embedded server initiaizationl

2011-09-17 Thread Xue-Feng Yang
I could resolve the unicode issue for a deploy on glassfish, so I turn to test the embedded server for solr.  There is a weird error. It throws from   CoreContainer container = new CoreContainer(); java.io.FileNotFoundException: C:\intelli\config\security.properties (The system cannot find t

Re: a weird error of embedded server initiaizationl

2011-09-17 Thread Chris Hostetter
: to test the embedded server for solr.  There is a weird error. It throws : from   CoreContainer container = new CoreContainer(); these errors aren't related to Solr ... they seem to be from running in a J2EE/EJB setup that is missconfigured so it can't check security settings for the app i

Re: a weird error of embedded server initiaizationl

2011-09-17 Thread Xue-Feng Yang
Thanks for reply. However, My testing project is a pure Java project. I still don't understand how it messed up with J2EE stuff. Actually, the same code is working for CommonsHttpSolrServer without any error like embedded one. The code for finding SolrServer is as follows:         File home

DIH error when nested db datasource and file data source

2011-09-17 Thread abhayd
hi I have a requirement where i fetch some data from db , and based on db data i pull details from XML file to index solr. When i try to import it gives me following error. -- SEVERE: Exception wh

Re: DIH error when nested db datasource and file data source

2011-09-17 Thread Gora Mohanty
On Sun, Sep 18, 2011 at 10:35 AM, abhayd wrote: > hi > I have a requirement where i fetch some data from db , and based on db data > i pull details from XML file to index solr. > > When i try to import it gives me following error. > -

Re: Miscellaneous DIH related questions

2011-09-17 Thread Gora Mohanty
On Sun, Sep 18, 2011 at 4:50 AM, Pulkit Singhal wrote: [...] > 3) Is there some way to configure the datasource to retry 3 time or > something like that? I have increased the values for connectionTimeout > and readTimeout but it doesn't help when sometimes the server simply > denies the request du

Re: DIH error when nested db datasource and file data source

2011-09-17 Thread abhayd
hi gora, Query works and if i remove xml data load indexing works fine too Problem seem to be with this Basically how would i get details abt a id fetched from db using xpath from a xml file. -- View this message in context: http://lucene.472066.n3.nabble.com/DIH-error-w