RE: score from two cores

2010-12-03 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
Uhhm, what are you trying to do? What do you want to do with the scores from two cores? Best Erick On Fri, Dec 3, 2010 at 11:21 AM, Ma, Xiaohui (NIH/NLM/LHC) [C] < xiao...@mail.nlm.nih.gov> wrote: > I have multiple cores. How can I deal with score? > > Thanks so much for help! > Xiaohui >

RE: how to set maxFieldLength to unlimitd

2010-12-01 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
exing this (but we were using lucene directly) with a streamReader. Grüße, Jan Am 01.12.2010 um 18:13 schrieb "ext Ma, Xiaohui (NIH/NLM/LHC) [C]" : > Thanks so much for your replay, Jan. I just found I cannot index pdf > files with the file size more than 20MB. > > I use

RE: how to set maxFieldLength to unlimitd

2010-12-01 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
>-Original Message----- >From: ext Ma, Xiaohui (NIH/NLM/LHC) [C] [mailto:xiao...@mail.nlm.nih.gov] >Sent: Dienstag, 30. November 2010 19:49 >To: solr-user@lucene.apache.org; 'solr-user-i...@lucene.apache.org'; >'solr-user-...@lucene.apache.org' >Subject: h

RE: how to set maxFieldLength to unlimitd

2010-12-01 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
Does anyone know how to index a pdf file with very big size (more than 100MB)? Thanks so much, Xiaohui -Original Message- From: Ma, Xiaohui (NIH/NLM/LHC) [C] Sent: Tuesday, November 30, 2010 4:22 PM To: 'solr-user@lucene.apache.org' Subject: RE: how to set maxFieldLength to u

RE: how to set maxFieldLength to unlimitd

2010-11-30 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
.472066.n3.nabble.com/Solr-ignoring-maxFieldLength-td473263.html , it appears you can just comment out the one in the section. Best Erick On Tue, Nov 30, 2010 at 1:48 PM, Ma, Xiaohui (NIH/NLM/LHC) [C] < xiao...@mail.nlm.nih.gov> wrote: > I need index and search some pdf files which are

RE: how to set maxFieldLength to unlimitd

2010-11-30 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
, 2147483647 Also, see this thread for a common gotcha: http://lucene.472066.n3.nabble.com/Solr-ignoring-maxFieldLength-td473263.html , it appears you can just comment out the one in the section. Best Erick On Tue, Nov 30, 2010 at 1:48 PM, Ma, Xiaohui (NIH/NLM/LHC) [C] < xiao...@mail.nlm.nih.gov>

how to set maxFieldLength to unlimitd

2010-11-30 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
I need index and search some pdf files which are very big (around 1000 pages each). How can I set maxFieldLength to unlimited? Thanks so much for your help in advance, Xiaohui

RE: how to deal with virtual collection in solr?

2010-09-03 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
does not support the SolrCloud style sharding. In 1.4.1, >> please use this style: >> &shards=localhost:8983/solr/aaprivate,localhost:8983/solr/aapublic/ >> >> >> However, since schema is the same, I'd opt for one index with a >> "collection

RE: how to deal with virtual collection in solr?

2010-09-01 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
Messages). -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Training in Europe - www.solrtraining.com On 27. aug. 2010, at 15.04, Ma, Xiaohui (NIH/NLM/LHC) [C] wrote: > Thank you, Jan Høydahl. > > I used > http://localhost:8983/solr/select?&shards=local

questions about synonyms

2010-08-31 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
Hello, I have an couple of questions about synonyms. 1. I got a very big text file of synonyms. How I can use it? Do I need to index this text file first? 2. Is there a way to do synonyms' highlight in search result? 3. Does anyone use WordNet to solr? Thanks so much in advance,

questions about synonyms

2010-08-31 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
Hello, I have an couple of questions about synonyms. 1. I got a very big text file of synonyms. How I can use it? Do I need to index this text file first? 2. Is there a way to do synonyms' highlight in search result? 3. Does anyone use WordNet to solr? Thanks so much in advance,

RE: how to deal with virtual collection in solr?

2010-08-27 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
quot;fi...@myfile.pdf" -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Training in Europe - www.solrtraining.com On 26. aug. 2010, at 20.41, Ma, Xiaohui (NIH/NLM/LHC) [C] wrote: > Thanks so much for your help! I will try it. > > > -Original Message-

RE: how to deal with virtual collection in solr?

2010-08-27 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
ct Cominvent AS - www.cominvent.com Training in Europe - www.solrtraining.com On 26. aug. 2010, at 20.41, Ma, Xiaohui (NIH/NLM/LHC) [C] wrote: > Thanks so much for your help! I will try it. > > > -Original Message- > From: Thomas Joiner [mailto:thomas.b.joi...@gmail.c

RE: how to deal with virtual collection in solr?

2010-08-26 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
unctionality, but it was nice that it started working. (The PDFs we'll be indexing won't be of later versions, but a test file was). On Thu, Aug 26, 2010 at 1:27 PM, Ma, Xiaohui (NIH/NLM/LHC) [C] < xiao...@mail.nlm.nih.gov> wrote: > Thanks so much for your help, Jan Høydahl! &

RE: how to deal with virtual collection in solr?

2010-08-26 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
Thanks so much for your help, Jan Høydahl! I made multiple cores (aa public, aa private, bb public and bb private). I knew how to query them individually. Please tell me if I can do a combinations through shards parameter now. If yes, I tried to append &shards=aapub,bbpub after query string. Un

RE: how to deal with virtual collection in solr?

2010-08-25 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
? On Aug 25, 2010, at 12:18 PM, Ma, Xiaohui (NIH/NLM/LHC) [C] wrote: > I just started to investigate Solr several weeks ago. Our current project > uses Verity search engine which is commercial product and the company is out > of business. Verity is not out of business. They were ac

how to deal with virtual collection in solr?

2010-08-25 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
Hello, I just started to investigate Solr several weeks ago. Our current project uses Verity search engine which is commercial product and the company is out of business. I am trying to evaluate if Solr can meet our requirements. I have following questions. 1. Currently we use Verity and have

RE: ANNOUNCE: Stump Hoss @ Lucene Revolution

2010-08-24 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
Hello, I just started to investigate Solr several weeks ago. Our current project uses Verity search engine which is commercial product and the company is out of business. I am trying to evaluate if Solr can meet our requirements. I have following questions. 1. Currently we use Verity and have

multiple values

2010-08-18 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
Hello, I only can display one author which is last one. It looks like overwrite others. In xml, I have more than one name in . In data_config.xml, I put the . In schema.xml, I put . Please let me know if I did something wrong, or how I can display it in jsp. I really appreciate your help!

different pdf version issue

2010-08-13 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
I have a problem to index pdf files which are pdf version 1.5 or 1.6. There is no problem at all for me to index pdf files with version 1.4. Here is the error I got: HTTP ERROR: 500org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.pdf.pdfpar...@44ff

RE: index pdf files

2010-08-12 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
(NIH/NLM/LHC) [C]: > Does anyone know if I need define fields in schema.xml for indexing pdf > files? If I need, please tell me how I can do it. > > I defined fields in schema.xml and created data-configuration file by using > xpath for xml files. Would you please tell me if I nee

RE: index pdf files

2010-08-12 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
/article/indexing-data-solr-1.4-enterprise-search-server-2 Cheers, Stefan Am 12.08.2010 19:45, schrieb Ma, Xiaohui (NIH/NLM/LHC) [C]: > Does anyone know if I need define fields in schema.xml for indexing pdf > files? If I need, please tell me how I can do it. > > I defined fields in sc

RE: index pdf files

2010-08-12 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
@lucene.apache.org Subject: Re: index pdf files Maybe this helps: http://www.packtpub.com/article/indexing-data-solr-1.4-enterprise-search-server-2 Cheers, Stefan Am 12.08.2010 19:45, schrieb Ma, Xiaohui (NIH/NLM/LHC) [C]: > Does anyone know if I need define fields in schema.xml for indexing pdf >

RE: index pdf files

2010-08-12 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
schema.xml and the query that you do when you search only a single word. 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/8/12 Ma, Xiaohui (NIH/NLM/LHC) [C] > I wrote a simple java program

RE: index pdf files

2010-08-12 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
.apache.org Subject: Re: index pdf files To help you we need the description of your fields in your schema.xml and the query that you do when you search only a single word. Marco Martínez Bautista http://www.paradigmatecnologico.com Avenida de Europa, 26. Ática 5. 3ª Planta 28224 Pozuelo de Alarcón

index pdf files

2010-08-12 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
I wrote a simple java program to import a pdf file. I can get a result when I do search *:* from admin page. I get nothing if I search a word. I wonder if I did something wrong or miss set something. Here is part of result I get when do *:* search: *

RE: PDF file

2010-08-11 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
ur help! Thanks, -Original Message- From: Ma, Xiaohui (NIH/NLM/LHC) [C] Sent: Wednesday, August 11, 2010 10:36 AM To: solr-user@lucene.apache.org Cc: 'jayendra.patil@gmail.com' Subject: RE: PDF file Thanks so much for your help! I got "Remote Streaming is disabled" error.

RE: PDF file

2010-08-11 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
; Sent: Tuesday, August 10, 2010 4:37 PM > To: solr-user@lucene.apache.org > Subject: RE: PDF file > > Xiaohui, > > You need to add the following jars to the lib subdirectory of the solr > config directory on your server. > > (path inside the solr 1.4.1 download)

RE: PDF file

2010-08-10 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
download) /dist/apache-solr-cell-1.4.1.jar plus all the jars in /contrib/extraction/lib HTH -Jon ____________ From: Ma, Xiaohui (NIH/NLM/LHC) [C] [xiao...@mail.nlm.nih.gov] Sent: Tuesday, August 10, 2010 11:57 AM To: 'solr-user@lucene.apache.org' Subject: RE: PD

RE: PDF file

2010-08-10 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
Does anyone have any experience with PDF file? I really appreciate your help! Thanks so much in advance. -Original Message- From: Ma, Xiaohui (NIH/NLM/LHC) [C] Sent: Tuesday, August 10, 2010 10:37 AM To: 'solr-user@lucene.apache.org' Subject: PDF file I have a lot of pdf f

PDF file

2010-08-10 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
I have a lot of pdf files. I am trying to import pdf files to solr and index them. I added ExtractingRequestHandler to solrconfig.xml. Please tell me if I need download some jar files. In the Solr1.4 Enterprise Search Server book, use following command to import a mccm.pdf. curl 'http://loc

RE: hl.usePhraseHighlighter

2010-08-10 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
Thanks so much for your help! It works. I really appreciate it. -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Monday, August 09, 2010 6:05 PM To: solr-user@lucene.apache.org Subject: RE: hl.usePhraseHighlighter > I used text type and found the following in schema

RE: hl.usePhraseHighlighter

2010-08-09 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
Thanks so much for your help! I used text type and found the following in schema.xml. I don't know which ones I should remove. ***

hl.usePhraseHighlighter

2010-08-09 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
I am trying to do exactly match. For example, I hope only get study highlighted if I search "study", not others (studies, studied and so on). I didn't find any function for it from SolrQuery. I added following in solrconfig.xml true. Unfortunately I didn't get it work. Please help me out. Th

how to highlight string in jsp

2010-08-02 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
Hello, I am trying to display the highlight string in different color on jsp. I use following in servlet. query.setHighlight(true).setHighlightSnippets(1); query.setParam("hl.fl", "Abstract"); I wonder how I can display it in jsp Thanks in advanced. xm

RE: display solr result in JSP

2010-07-28 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
thing you can do in servlet too.. get the solr server response and return in bean or can display directly(in servlet). hope you will able to do. regards Ranveer On Wednesday 28 July 2010 08:11 PM, Ma, Xiaohui (NIH/NLM/LHC) [C] wrote: > I am new for solr. Just got example xml file index and sear

display solr result in JSP

2010-07-28 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
I am new for solr. Just got example xml file index and search by following solr tutorial. I wonder how I can get the search result display in a JSP. I really appreciate any suggestions you can give. Thanks so much, Xiaohui

RE: new to solr

2008-01-14 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
example using XSLT to format results. Check: http://wiki.apache.org/solr/XsltResponseWriter For php, check: http://wiki.apache.org/solr/SolPHP ryan Ma, Xiaohui (NIH/NLM/LHC) [C] wrote: > Thanks so much for your reply! Please tell me what example.xsl is for in > conf/xslt. > > Please

RE: new to solr

2008-01-14 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
PROTECTED] Sent: Monday, January 14, 2008 11:37 AM To: solr-user@lucene.apache.org Subject: Re: new to solr Ma, Xiaohui (NIH/NLM/LHC) [C] wrote: > Hello, > > I am new to solr. Welcome! > I followed solr online tutorial to get the example > work. The search result is xml. I wonde

new to solr

2008-01-14 Thread Ma, Xiaohui (NIH/NLM/LHC) [C]
Hello, I am new to solr. I followed solr online tutorial to get the example work. The search result is xml. I wonder if there is a way to show result in a form. I saw there is example.xsl in conf/xslt directory. I really don't know how to do it. Anyone has some ideas for me. I really appreciate it