Re: HTTP Status 500 - Severe errors in solr configuration change: false in null ------------------------------------------------------------- org

2011-03-31 Thread jim
I open it buy Firefox,and find the mistake. when correct the mistake. There still has the error as: HTTP Status 500 - Severe errors in solr configuration. Check your log files for more detailed information on what may be wrong. If you want solr to continue after configuration errors, change: false

Re: HTTP Status 500 - Severe errors in solr configuration change: false in null ------------------------------------------------------------- org

2011-03-31 Thread Marcelo Iturbe
Hello, The error message states: The markup in the document following the root element must be well-formed Which means that one of your XML files is broken (invalid). It might be the solrconfig.xml file. Check the structure of these files, open them in a browser which checks for XML structure (su

Re: HTTP Status 500 - Severe errors in solr configuration change: false in null ------------------------------------------------------------- org

2011-03-31 Thread jim
Thanks . I'll check it. but i don't know how to get the right solr configuration -- View this message in context: http://lucene.472066.n3.nabble.com/HTTP-Status-500-Severe-errors-in-solr-configuration-change-abortOnConfigurationError-false-abortOnCo6-tp2757493p2761753.html Sent from the Solr

Re: Solrj Performance check.

2011-03-31 Thread Chris Hostetter
: For eg, if I post a search url in browser, it shows the QTime in : milliseconds only. : : http://serverName/solr/mydata/select?q=computing&qt=myhandler&fq=category:1 : : But, if I query the same using Solrj from my project like below, it takes : long time(8 - 12 sec) to produce the same result

Re: query expansion à la dismax

2011-03-31 Thread Chris Hostetter
: So I wrote my own code that filters the top level queries and expands : them, using a similar instruction as dismax within a particular query : component. : : Question 1: doesn't such a code already exist? : (I haven't found it) the DisjunctionMaxQueryParser class has support for configurin

Re: HTTP Status 500 - Severe errors in solr configuration change: false in null ------------------------------------------------------------- org

2011-03-31 Thread jim
i need help -- View this message in context: http://lucene.472066.n3.nabble.com/HTTP-Status-500-Severe-errors-in-solr-configuration-change-abortOnConfigurationError-false-abortOnCo6-tp2757494p2761679.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr 1.4.1 and Tika 0.9 - some tests not passing

2011-03-31 Thread Chris Hostetter
: I'm still interested on what steps I could take to get to the bottom of the : failing tests. Is there additional information that I should provide? i'm not really up to speed on what might have changed in Tika 0.9 to cause this, but the best thing to do would probably be to look at what *doe

Re: How could I set multi-value for a field in DataImporter

2011-03-31 Thread kun xiong
I found the answer from source code. Using a Collection as value. Thanks any way 2011/4/1 kun xiong > Stefan, > > Thanks very much for your quick reply. > > Actually I have to write a CustomDataImporter class to full-import data and > index them all. > > So it should be done in java code and s

Re: How could I set multi-value for a field in DataImporter

2011-03-31 Thread kun xiong
Stefan, Thanks very much for your quick reply. Actually I have to write a CustomDataImporter class to full-import data and index them all. So it should be done in java code and schema.xml. When I write a CustomDataImporter, I have to implement a nextRow() method, which return a map. And also s

Re: solr upgrade question

2011-03-31 Thread Johannes Goll
Hi Alexander, I have posted same question a few month ago. The only solution that came up was to regenerate the index files using the new version. How did you do this exactly with luke 1.0.1 ? Would you mind sharing some of that magic ? Best, Johannes 2011/3/31 Alexander Aristov > Didn't get

Re: Concatenate multivalued DIH fields

2011-03-31 Thread neha
Hi, When there are multiple authors instead of concatenating, it append list of last names after the first names. Vincent White Bakken Sjaastad Maurice B. Linda R. Inger Johanne Ottar Thanks, Neha - Thanks, Neha -- View this message in context: http://lucene.472066.n3.nabble.com/Concatenate

Re: Matching the beginning of a word within a term

2011-03-31 Thread lboutros
So if i understand well, in these exemples : http://localhost:8983/solr/search/?q=*:*&fq={!q.op=AND%20df=common_names}"companion mank"~10 http://localhost:8983/solr/search/?q=*:*&fq={!q.op=AND%20df=common_names}"companion manki"~10 http://localhost:8983/solr/search/?q=*:*&fq={!q.op=AND%20df=co

Re: Concatenate multivalued DIH fields

2011-03-31 Thread Marcelo Iturbe
Hello, In the schema.xml file you can contenate much easier. Hope this helps On Tue, Mar 29, 2011 at 3:01 PM, neha wrote: > I have two multivalued DIH fields "fname" and "lname". I want to > concatenate > each of the fname and lname pairs to get a third multivalued DIH field >

Re: Exact keyword search and redirect term

2011-03-31 Thread Erick Erickson
Oops, fat fingers. In addition to Jonathan's comment, you can construct your own field type from, say, keywordanalyzer and lowercasefilter to do some normalization, and/or patternreplacefilterfactory if you want to do even more normalization. Best Erick On Thu, Mar 31, 2011 at 3:57 PM, Erick Eri

Re: Exact keyword search and redirect term

2011-03-31 Thread Erick Erickson
In addition to Jo On Thu, Mar 31, 2011 at 2:43 PM, Jonathan Rochkind wrote: > There is no configuration. > > If: > 1) you index your records as type String, with no analysis > 2) You always do phrase searches in your query, surround it with double > quotes. (Neccesary because otherwise queries wi

Re: HTTP Status 500 - Severe errors in solr configuration change: false in null ------------------------------------------------------------- org

2011-03-31 Thread Erick Erickson
At a guess, you've somehow changed one of the configuration files and made it into invalid XML. Try opening the configuration XMLs in an application that checks for well-formedness and/or look at the line in the XML file indicated and see if there's anything that jumps out at you... Or just replac

Problems with DIH and missing fields.

2011-03-31 Thread Marcelo Iturbe
Hello, I have an XML which contains personal contacts. Not all contacts have the same fields (email, phone, postal). The problem is that when certain fields are NOT present, SOLR is injecting the previous contacts data. For example, assume the following from the XML feed: Jane Doe

Re: ComplexPhraseQueryParser and wildcards

2011-03-31 Thread Erick Erickson
Ohhh, my. Well, in that case I'm afraid I'm out of ideas. Can you raise a JIRA on the crash? Please include the field definition and an example of the query you're sending. This should be fixed... Best Erick On Thu, Mar 31, 2011 at 11:28 AM, jmr wrote: > > Erick Erickson wrote: >> >> No, WDF onl

Apache Solr 3.1.0

2011-03-31 Thread Grant Ingersoll
March 2011, Apache Solr 3.1 available The Lucene PMC is pleased to announce the release of Apache Solr 3.1. This release contains numerous bug fixes, optimizations, and improvements, some of which are highlighted below. The release is available for immediate download at http://www.apache.org/dy

Re: Exact keyword search and redirect term

2011-03-31 Thread Jonathan Rochkind
There is no configuration. If: 1) you index your records as type String, with no analysis 2) You always do phrase searches in your query, surround it with double quotes. (Neccesary because otherwise queries with spaces in them won't be passed intact to the field for matching). (Alternately use

Apache Solr 3.1.0 available

2011-03-31 Thread Grant Ingersoll
March 2011, Apache Solr 3.1 available The Lucene PMC is pleased to announce the release of Apache Solr 3.1. This release contains numerous bug fixes, optimizations, and improvements, some of which are highlighted below. The release is available for immediate download at http://www.apache.org/dy

HTTP Status 500 - Severe errors in solr configuration change: false in null ------------------------------------------------------------- org.xml

2011-03-31 Thread jim
hi all, I used ubuntu 10.10 ,I'm trying to get solr 1.4up andrunning,with no success. i have fllowed this http://ubuntuforums.org/showthread.php?t=1532230 to run my solr, but there has error as: HTTP Status 500 - Severe errors in solr configuration. Check your log files for more detailed informat

HTTP Status 500 - Severe errors in solr configuration change: false in null ------------------------------------------------------------- org.xml

2011-03-31 Thread jim
hi all, I used ubuntu 10.10 ,I'm trying to get solr 1.4up andrunning,with no success. i have fllowed this http://ubuntuforums.org/showthread.php?t=1532230 to run my solr, but there has error as: HTTP Status 500 - Severe errors in solr configuration. Check your log files for more detailed informat

Exact keyword search and redirect term

2011-03-31 Thread Tejinder Rawat
Hi All, I have many documents indexed based on a field having value “anniversary”. Also there is a redirect term which is having “anniversary” inside this. E.g. below: -- termRedirect /product/silver+25th+anniversary.do 25th anniversary --

Re: 2 index within the same Solr server ?

2011-03-31 Thread Amel Fraisse
Hi every body, This is my implementation SolrJ to instanciate 2 SolrCore. File f = new File ("./solr/solr.xml"); System.setProperty("solr.solr.home", "solr"); CoreContainer.Initializer initializer = new CoreContainer.Initializer(); CoreContainer coreContainer = in

Highlight snippets for a set of known documents

2011-03-31 Thread Jay Luker
Hi all, I'm trying to get highlight snippets for a set of known documents and I must being doing something wrong because it's only sort of working. Say my query is "foobar" and I already know that docs 1, 5 and 11 are matches. Now I want to retrieve the highlight snippets for the term "foobar" fo

Re: Best practice for rotating solr logs

2011-03-31 Thread Bill Bell
I would no recommend a restart. You can use log4j to do this without a restart. Bill Bell Sent from mobile On Mar 31, 2011, at 11:54 AM, Paul wrote: > I'm about to set up log rotation using logrotate, but I have a > question about how to do it. > > The general examples imply that one should i

Best practice for rotating solr logs

2011-03-31 Thread Paul
I'm about to set up log rotation using logrotate, but I have a question about how to do it. The general examples imply that one should include the following in the script: postrotate /sbin/service solr restart endscript but it seems to me that any requests that come in during that restart proces

Re: DIH OutOfMemoryError?

2011-03-31 Thread Markus Jelsma
Try splitting the files into smaller chunks. It'll help. > Hi, > > I'm trying to index a big XML file (800Mo) using DIH, but i'm getting an > OutOfMemoryError! > > I've got 2048mo of RAM on this server, obviously it's not enough... How > much RAM is recomended for indexing big files? > > Thanks

Re: 2 index within the same Solr server ?

2011-03-31 Thread Amel Fraisse
Hello Deepack, Thank you for your response. Yes I would doing the same thing with SolrJ. Amel. 2011/3/31 Deepak Singh > > i have implemented this works > > indexing document at first index (core0) > > http://localhost:8983/solr/core0/update/extract/?stream.file=path_of_filename&commit=true

Re: ComplexPhraseQueryParser and wildcards

2011-03-31 Thread jmr
Erick Erickson wrote: > > No, WDF only works on tokens from the tokenizer. It would > not concatenate two separate tokens together, just tokens generated > because of, say, case changes, punctuation, etc in the single token > that made it through, say, WhitespaceTokenizerFactory. > > The analysi

Re: assit with the Clustering component in Solr/Lucene

2011-03-31 Thread Stanislaw Osinski
Thanks for the confirmation, I'll take a look at the issue. S. On Thu, Mar 31, 2011 at 17:24, wrote: > That did make a difference, I now see the exact number of cluster i see > from the workbench. > I am of course interested in why the config changes did not have much > effect. However, I am ha

Re: assit with the Clustering component in Solr/Lucene

2011-03-31 Thread ramdev.wudali
That did make a difference, I now see the exact number of cluster i see from the workbench. I am of course interested in why the config changes did not have much effect. However, I am happy that by adding the threshold to my request URL produces the desired results let me know if I can do any m

Re: assit with the Clustering component in Solr/Lucene

2011-03-31 Thread Stanislaw Osinski
> I added the parameter as you suggested. > (LingoClusteringAlgorithm.clusterMergingThreshold) into the searchComponent > section that describes the Clustering module > Changing the value of the parameter did not have any effect on my search > results. > > However, when I used the Carrot2 wor

DIH OutOfMemoryError?

2011-03-31 Thread Rosa (Anuncios)
Hi, I'm trying to index a big XML file (800Mo) using DIH, but i'm getting an OutOfMemoryError! I've got 2048mo of RAM on this server, obviously it's not enough... How much RAM is recomended for indexing big files? Thanks for your help Here is the error from DIH mode verbose: java.lang.Cl

Re: assit with the Clustering component in Solr/Lucene

2011-03-31 Thread ramdev.wudali
Hi Staszek: I added the parameter as you suggested. (LingoClusteringAlgorithm.clusterMergingThreshold) into the searchComponent section that describes the Clustering module Changing the value of the parameter did not have any effect on my search results. However, when I used the Carrot2 w

Re: 2 index within the same Solr server ?

2011-03-31 Thread Deepak Singh
i have implemented this works indexing document at first index (core0) http://localhost:8983/solr/core0/update/extract/?stream.file=path_of_filename&commit=true indexing document at first index (core) http://localhost:8983/solr/core1/update/extract/?stream

Re: Matching the beginning of a word within a term

2011-03-31 Thread Brian Lamb
No, I don't really want to break down the words into subwords. In the example I provided, I would not want "kind" to match either record because it is not at the beginning of the word even though "kind" appears in both records as part of a word. On Wed, Mar 30, 2011 at 4:42 PM, lboutros wrote: >

Re: ComplexPhraseQueryParser and wildcards

2011-03-31 Thread Erick Erickson
> I'm afraid this could have some side effects. > I suppose that thematic* would then return: > thematically > but also "the matico" No, WDF only works on tokens from the tokenizer. It would not concatenate two separate tokens together, just tokens generated because of, say, case changes, punctuat

Re: 2 index within the same Solr server ?

2011-03-31 Thread Shawn Heisey
On 3/31/2011 5:09 AM, Amel Fraisse wrote: Hi Markus, Thank you for your response. In fact, I never used SolrCore before that. So could you give me an example to ilustrate how I could send a document to be indexed by both cores? There is no magic within Solr that would let you issue a single co

Re: DIH Issue(newbie to solr)

2011-03-31 Thread neha
Hello Gora, I have a new Issue: http://lucene.472066.n3.nabble.com/Concatenate-multivalued-DIH-fields-td2749988.html I haven't got enough help on this issue, Please could you advice me on solving this. Thanks, Neha - Thanks, Neha -- View this message in context: http://lucene.472066.n3.nab

Re: Concatenate multivalued DIH fields

2011-03-31 Thread neha
I would appreciate any help on this issue, I am unable to proceed without getting this solved. Thanks, Neha - Thanks, Neha -- View this message in context: http://lucene.472066.n3.nabble.com/Concatenate-multivalued-DIH-fields-tp2749988p2758485.html Sent from the Solr - User mailing list arc

Re: ComplexPhraseQueryParser and wildcards

2011-03-31 Thread jmr
Erick Erickson wrote: > > If you change your WordDelimiterFilterFactory (WDF) setting > in the section of your field definition and set > catenatewords="1", do you get the specific behavior you're > asking for when you search for "crosslin* compiler"~50? And > is this acceptable? > I'm afraid

Re: how to set cookie for url requesting in stream_url

2011-03-31 Thread Markus Jelsma
That depends on what you're using. So, what are you using? On Thursday 31 March 2011 14:29:36 satya swaroop wrote: > Hi All, > for indexing the documents in the other server i need to include a > cookie value in the url requesting through the stream_url. > can anybody tell me how to includ

how to set cookie for url requesting in stream_url

2011-03-31 Thread satya swaroop
Hi All, for indexing the documents in the other server i need to include a cookie value in the url requesting through the stream_url. can anybody tell me how to include the cookie in the url??? have anybody done this type??? or if there are any suggestions please tell me??? ex: http://loca

Re: 2 index within the same Solr server ?

2011-03-31 Thread Erick Erickson
I would guess just the way you always use cores. You'd open your connection in SolrJ with the core name tacked on, something like: CommonsHttpSolrServer server1 = new CommonsHttpSolrServer(http://localhost:8983/solr/core1); CommonsHttpSolrServer server2 = new CommonsHttpSolrServer(http://localhost

Re: ComplexPhraseQueryParser and wildcards

2011-03-31 Thread Erick Erickson
If you change your WordDelimiterFilterFactory (WDF) setting in the section of your field definition and set catenatewords="1", do you get the specific behavior you're asking for when you search for "crosslin* compiler"~50? And is this acceptable? However, WDF settings take some time to really und

MorelikeThis search Component

2011-03-31 Thread Isha Garg
Hello! Can Morelikethis works for string type of field. like if I have field name person of string type and i use mlt.fl=person . Does it shows any result or not? Thanks! Isha

Re: 2 index within the same Solr server ?

2011-03-31 Thread Markus Jelsma
I don't use SolrJ. Try to find the documentation for that. On Thursday 31 March 2011 13:09:49 Amel Fraisse wrote: > Hi Markus, > > Thank you for your response. > In fact, I never used SolrCore before that. > So could you give me an example to ilustrate how I could send a document to > be indexed

Re: 2 index within the same Solr server ?

2011-03-31 Thread Amel Fraisse
Hi Markus, Thank you for your response. In fact, I never used SolrCore before that. So could you give me an example to ilustrate how I could send a document to be indexed by both cores? Thank you. Amel. 2011/3/31 Markus Jelsma > > > On Thursday 31 March 2011 12:58:54 Amel Fraisse wrote: > > >

Re: 2 index within the same Solr server ?

2011-03-31 Thread Markus Jelsma
On Thursday 31 March 2011 12:58:54 Amel Fraisse wrote: > But for indexing and searching I've the same question: I don't know how I > could specify that document would be indexed a twice (in the first index > and in the second index). > Amel, if you use multi core and wish to have a document in

Re: 2 index within the same Solr server ?

2011-03-31 Thread Amel Fraisse
Hi, You have to use SolrCore to create a solr.xml file in wich you specify 2 cores ( refer to the link : http://wiki.apache.org/solr/CoreAdmin ) But for indexing and searching I've the same question: I don't know how I could specify that document would be indexed a twice (in the first index and

Re: 2 index within the same Solr server ?

2011-03-31 Thread Amel Fraisse
2011/3/31 Deepak Singh > > I want 2 index in same solr server. > How to create 2 index and its schema for two different search result > > Hi, > You have to use SolrCore to create a solr.xml file in wich you specify 2 cores ( refer to the link : http://wiki.apache.org/solr/CoreAdmin ) But for

Re: 2 index within the same Solr server ?

2011-03-31 Thread Deepak Singh
I want 2 index in same solr server. How to create 2 index and its schema for two different search result On Wed, Mar 30, 2011 at 7:07 PM, Amel Fraisse wrote: > Hello every body, > > referring to the link : http://wiki.apache.org/solr/CoreAdmin. > > I've created a solr.xml file as follows: > >

Re: How could I set multi-value for a field in DataImporter

2011-03-31 Thread Stefan Matheis
Kun, it should be enough to use the same field second time, like this: value2 Regards Stefan On Thu, Mar 31, 2011 at 11:39 AM, kun xiong wrote: > Since the interface of DataImporter return a Map, I can't put multi value > for a same field, right? > > Example: > > I write a class extending Data

Re: Unexpected character '0' (code 48) in prolog;

2011-03-31 Thread Markus Jelsma
There is a spurious 0 at [1,1]. Check the XML you're posting. On Thursday 31 March 2011 03:23:40 Charles Wardell wrote: > Can someone translate this error for me. My data looks pretty clean, so I > am not sure what is going on here. > > Mar 30, 2011 5:21:52 AM org.apache.solr.common.SolrException

How could I set multi-value for a field in DataImporter

2011-03-31 Thread kun xiong
Since the interface of DataImporter return a Map, I can't put multi value for a same field, right? Example: I write a class extending DataImporter, and want to index {"value1", "value2"} for field "name". How should I do? Many thanks. Kun

Re: How to use SolrSimilarity with Luke?

2011-03-31 Thread Gabriele Kahlout
http://localhost:8080/nutch/scoringtest1.html";> 2.188457 = (MATCH) fieldWeight(content:artifici in 58), product of: 1.4142135 = tf(termFreq(content:artifici)=2) 3.0949457 = idf(docFreq=7, maxDocs=65) 0.5 = *fieldNorm*(field=content, doc=58) So Solr interface provides with all I want. Luke

TermsComponent and Morelikethis

2011-03-31 Thread Isha Garg
Hi! plz tell me how can we filter the termcomponent handler result on the basis of user query .Also explain me how interesting terms are shown in morelikethis for ml on the basis of user query. Thanks! Isha

Re: solr upgrade question

2011-03-31 Thread Alexander Aristov
Didn't get any responses. But I tried luke 1.0.1 and it did the magic. I run optimization and after that solr got up. Best Regards Alexander Aristov On 30 March 2011 15:47, Alexander Aristov wrote: > People > > Is were way to upgrade existsing index from solr 1.4 to solr 4(trunk). When > I con