Re: Distributed Search doesn't response the result set

2010-06-07 Thread Scott Zhang
Hi. All. I am still testing. I think I am approaching the truth. Now confirmed: the doc in my existing lucene indexes, when search with distributed search, none of them are returned. But the docs inserted from solr post.jar are returned successfully. Don't know why. looks the lucene docs ha

Re: solrj Unicode queries don't return results

2010-06-07 Thread jlist9
Thank you for the reply! I'm using Tomcat 6.0.20. I read the page. I think you meant setting URIEncoding for the connector: I tried this but it still doesn't work, while the Python client still works fine. Because the Python client works fine, I tend to think that solrj is not encoding the URL pr

Re: Distributed Search doesn't response the result set

2010-06-07 Thread Scott Zhang
Hi. All. I tried with the default solr example plus my own config/schema file. I post test document into solr manually. Then test the distributed search and it works. Then I switch to my existing l*ucene index, and it d*oesn't work. So I am wondering is that the reason, when solr use lucene index

Re: multiValued using

2010-06-07 Thread Alexey Serba
Hi Alberto, You can add child entity which returns multiple records, i.e. HTH, Alex 2010/6/7 Alberto García Sola : > Hello, this is my first message to this list. > > I was wondering if it is possible to use multiValued when using MySQL (or > any SQL-database engine) through DataImp

Re: Tomcat startup script

2010-06-07 Thread K Wong
I believe that I installed it simply by doing "yum install tomcat5" then adjusting the "/sbin/chkconfig" settings. Did you install tomcat 5.5 from an RPM? Is it not showing up when you do $ sudo /sbin/chkconfig --list tomcat5 K On Mon, Jun 7, 2010 at 8:59 PM, Sixten Otto wrote: > On Mon, Jun

Re: Tomcat startup script

2010-06-07 Thread Sixten Otto
On Mon, Jun 7, 2010 at 2:35 PM, Chris Hostetter wrote: > there is currently a bug with the apache wiki and attachments... > https://issues.apache.org/jira/browse/INFRA-2773 Glad to know it's not just me. But does anyone have that script posted anywhere else? Sixten

Re: Anyone using Solr spatial from trunk?

2010-06-07 Thread Darren Govoni
I've been experimenting with it, but haven't quite gotten it to work as yet. On Mon, 2010-06-07 at 17:47 -0700, Jay Hill wrote: > I was wondering about the production readiness of the new-in-trunk spatial > functionality. Is anyone using this in a production environment? > > -Jay

Anyone using Solr spatial from trunk?

2010-06-07 Thread Jay Hill
I was wondering about the production readiness of the new-in-trunk spatial functionality. Is anyone using this in a production environment? -Jay

Questions about hsin and dist

2010-06-07 Thread Aaron Chmelik
First, I'm new to the mailing list, and somewhat new to Solr, and apologize ahead of time if my question is either redundant or simplistic. I've read through the documentation on both the dist and hsin functions, but seem to be having a hard time grasping the concepts and syntax, particularly in r

DIH: Indexing multiple datasources with the same schema

2010-06-07 Thread Mike Copenhafer
Hi, I don't think my problem is unique, but I couldn't find any answers after an hour of searching... I have two databases with identical schemas and different data. I want to use DIH to index both into a single Solr index (right now, I have them in separate indexes, but I find this cumbersome).

Re: Tomcat startup script

2010-06-07 Thread Chris Hostetter
: So, looking at the wiki article on setting up Solr with Tomcat : (http://wiki.apache.org/solr/SolrTomcat), there's a link to an : attached init.d script for CentOS/RedHat/Fedora. Trouble is, the wiki there is currently a bug with the apache wiki and attachments... https://issues.apache.org/jir

Tomcat startup script

2010-06-07 Thread Sixten Otto
So, looking at the wiki article on setting up Solr with Tomcat (http://wiki.apache.org/solr/SolrTomcat), there's a link to an attached init.d script for CentOS/RedHat/Fedora. Trouble is, the wiki won't let me access it. Even after creating an account and logging in, clicking on the link (http://wik

[webinar] Rapid Prototyping Search Applications with Solr

2010-06-07 Thread Erik Hatcher
Marketing blurb below. My personal hype here... I'm going to be showcasing a straightforward document search engine, from files through indexing through usable user interface in no time. Come check it out. There'll be similarities to my EuroCon presentation[1], though this will be an ent

multiValued using

2010-06-07 Thread Alberto García Sola
Hello, this is my first message to this list. I was wondering if it is possible to use multiValued when using MySQL (or any SQL-database engine) through DataImportHandler. I've tried using a query which return something like this: 1 - title1 - multivalue1-1 1 - title1 - multivalue1-2 1 - title1 -

RE: solrj Unicode queries don't return results

2010-06-07 Thread Tim Gilbert
I had the same problem a while back. You didn't mention which application server you are using (if any) but some application servers have problems with UTF-8 queries and GET. Tomcat has a well documented solution http://wiki.apache.org/solr/SolrTomcat (near the bottom), I recently experienced prob

solrj Unicode queries don't return results

2010-06-07 Thread jlist9
Hi, I'm having a problem with Unicode queries using solrj. I have an index with unicode strings. From /solr/admin web interface, I can find results using the Java unicode format, such as \u751f\u6d3b. (If I just type in a UTF-8 string, I can't find any result though. Not sure why.) But in solrj, I

Re: AW: XSLT for JSON

2010-06-07 Thread stockii
hm. i dont know how i to use velocity. i'm only want the response format of StandardSearchHandler for the TermsComponent. how can i do this in a simple way ? :D thx -- View this message in context: http://lucene.472066.n3.nabble.com/XSLT-for-JSON-tp845386p876903.html Sent from the Solr - Use

confused with SQL cached entity processor

2010-06-07 Thread bbarani
Hi, I am using cached SQL entity processor in my data config, please find below the structure of my data config file. Now if the data is returned by all the 3 entities I can see that SOLR issues just 3 queries to the data source. In case if one of the entity returns n

Re: Need help with document format

2010-06-07 Thread Israel Ekpo
I think you need a 1:1 mapping between the consultant and the company, else how are you going to run your queries for let's say consultants that worked for Google or AOL between March 1999 and August 2004? If the mapping is 1:1, your life would be easier and you would not need to do extra parsing

Re: Need help with document format

2010-06-07 Thread Moazzam Khan
Thanks for the replies guys. I am currently storing consultants like this .. 123 tony marjo Google AOL I have a few multi valued fields so if I do it the way Israel suggested it, I will have tons of records. Do you think it will be better if I did this instead ? 123 tony marjo

Re: Tips on recursive xml-parsing in dataConfig

2010-06-07 Thread Geert-Jan Brits
I'm guessing (I'm not familiar with the xml dataimport handler, but I am pretty familiar with Xpath) that your problem lies in having absolute xpath-queries, instead of relative xpath queries to your parent node. e.g: /DOK/TEKST/KAP is absolute ( the prefixed '/' tells it to be). Try 'KAP' instead

Re: Indexing link targets in HTML fragments

2010-06-07 Thread Andrew Clegg
findbestopensource wrote: > > Could you tell us your schema used for indexing. In my opinion, using > standardanalyzer / Snowball analyzer will do the best. They will not break > the URLs. Add href, and other related html tags as part of stop words and > it > will removed while indexing. > Thi

Tips on recursive xml-parsing in dataConfig

2010-06-07 Thread Tor Henning Ueland
Hi, I am doing some testing of dataimport to Solr from XML-documents with many children in the children. To parse the children i some levels down using Xpath goes fine, but the speed is very slow. (~1 minute per document, on a quad Xeon server). When i do the same using the format solr wants it, t

Problem in solr reponse time when Query size is big

2010-06-07 Thread Dhirendra
Hi All, I have configured Apache Solr 1.4 with JBoss 5.1.0GA and Working fine when I send some small query strings but my requirement is different and I have to build query string in the fly and pass to solr and execute to get response. It's working fine with small query of data but when passing

Re: solr configuration for local search

2010-06-07 Thread Avlesh Singh
They is me! Yes, multiple queries are being fired (though concurrently) for fetching suggestion. You would probably want to take this off the list with me for questions, if any. Cheers Avlesh http://webklipper.com On Mon, Jun 7, 2010 at 5:04 PM, Frank A wrote: > Thanks. > > Do you have any ide

Re: Indexing link targets in HTML fragments

2010-06-07 Thread findbestopensource
Could you tell us your schema used for indexing. In my opinion, using standardanalyzer / Snowball analyzer will do the best. They will not break the URLs. Add href, and other related html tags as part of stop words and it will removed while indexing. Regards Aditya www.findbestopensource.com On

Re: solr configuration for local search

2010-06-07 Thread Frank A
Thanks. Do you have any idea what features they use, specifically thhe types of tokenizers and analyzers? Also, do you think they use two separate queries for the business name versus "you may be looking for"? Thanks again. On Sun, Jun 6, 2010 at 9:36 PM, Avlesh Singh wrote: > Frank, w.r.t fe

Re: Index-time vs. search-time boosting performance

2010-06-07 Thread Asif Rahman
I still need a relatively precise boost. No less precise than hourly. I think that would make for a pretty messy field query. On Mon, Jun 7, 2010 at 2:15 AM, Lance Norskog wrote: > If you are unhappy with the performance overhead of a function boost, > you can push it into a field query by bo

Re: Importing large datasets

2010-06-07 Thread Alexey Serba
What's the relation between items and item_descriptions table? I.e. is there only one item_descriptions record for every id? If 1-1 then you can merge all your data into single database and use the following query HTH, Alex On Thu, Jun 3, 2010 at 6:34 AM, Blargy wrote: > > > Erik Hatcher-4

Re: Distributed Search doesn't response the result set

2010-06-07 Thread Scott Zhang
Is there a possibility caused by I am using my own lucene indexes. Not the one created by solr itself? Regards Scott On Mon, Jun 7, 2010 at 4:24 PM, Scott Zhang wrote: > Hi. > I tried URL: > http://localhost:8983/solr/select?shards=localhost:8983/solr,localhost:7574/solr&indent=true&q=marship&

Re: Distributed Search doesn't response the result set

2010-06-07 Thread Scott Zhang
Hi. I tried URL: http://localhost:8983/solr/select?shards=localhost:8983/solr,localhost:7574/solr&indent=true&q=marship&rows=10 Got: - 0 16 - localhost:8983/solr,localhost:7574/solr true marship 10 Nothing Happens. On Mon, Jun 7, 2010 at 4:16 PM, Marco Martinez < mmarti...@paradigmatecnolo

Re: Distributed Search doesn't response the result set

2010-06-07 Thread Marco Martinez
Try to put the rows parameter in your request, i guess that in your solrconfig you have configured the default rows to 0 in your default request handler. Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 4

Re: Distributed Search doesn't response the result set

2010-06-07 Thread Scott Zhang
Thanks for replying. Here is the part of my schema.xml: I only have 4 fields in my document. id I am running 2 instances as tutorial shows: one on 8983. Another one is on 7574. When I search

Re: Distributed Search doesn't response the result set

2010-06-07 Thread Marco Martinez
Hi Scott, We need more information about your request, can you put the query that you are doing to the servers. Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón Tel.: 91 352 59 42 2010/6/7 Scott Zhang > Hi. All. >