Re: How to make a client in JSP which will take output from Solr Server

2010-12-04 Thread Gora Mohanty
On Sun, Dec 5, 2010 at 1:51 AM, Anurag wrote: > > Ok, I solved it by just opening the connection and then parsing the output > from xml to front page. Though It has some security isuue... See AJAX Solr: http://evolvingweb.github.com/ajax-solr/ Regards, Gora

Re: Exceptions in Embedded Solr

2010-12-04 Thread Tharindu Mathew
Any help on this? On Thu, Dec 2, 2010 at 7:51 PM, Tharindu Mathew wrote: > Hi everyone, > > I get the exception below when using Embedded Solr suddenly. If I > delete the Solr index it goes back to normal, but it obviously has to > start indexing from scratch. Any idea what the cause of this is?

Re: Question about Solr Fieldtypes, Chaining of Tokenizers

2010-12-04 Thread Robert Muir
On Fri, Dec 3, 2010 at 1:14 PM, Matthew Hall wrote: > Oh, and let me add that the WordDelimiterFilter comes really close to what I > want, but since we are unwilling to promote our solr version to the trunk > (we are on the 1.4x) version atm, the inability to turn off the automatic > phrase querie

Re: Question about Solr Fieldtypes, Chaining of Tokenizers

2010-12-04 Thread Grant Ingersoll
Could you expand on your example and show the output you want? FWIW, you could simply write a token filter that does the same thing as the WhitespaceTokenizer. -Grant On Dec 3, 2010, at 1:14 PM, Matthew Hall wrote: > Hey folks, I'm working with a fairly specific set of requirements for our >

Re: Full text hit term highlighting

2010-12-04 Thread Lance Norskog
Set the fragment length to 0. This means highlight the entire text body. If, you have stored the text body. Otherwise, you have to get the term vectors somehow and highlight the text yourself. I investigated this problem awhile back for PDFs. You can add a starting page and an OR list of search t

Full text hit term highlighting

2010-12-04 Thread Rich Cariens
Anyone ever use Solr to present a view of a document with hit-terms highlighted within? Kind of like Google's cached copies?

RE: autocommit commented out -- what is the default?

2010-12-04 Thread Jonathan Rochkind
It means they never happen automatically, added documents wont' be committed until you send a commit to solr. Jonathan From: Brian Whitman [br...@echonest.com] Sent: Saturday, December 04, 2010 10:36 AM To: solr-user@lucene.apache.org Subject: autocommit

Re: FastVectorHighlighter ignoring fragmenter parameter . . .

2010-12-04 Thread Koji Sekiguchi
(10/12/05 5:53), CRB wrote: Got the FVH to work in Solr 3.1 (or at least I presume I have given I can see multi-color highlighting in the output.) But I am not able to get it to recognize the "regex" fragmenter. I get no change in output if I specify the fragmenter. In fact, I can even enter b

Re: Solr Got Exceptions When "schema.xml" is Changed

2010-12-04 Thread Peter Karich
QueryElevationComponent requires the schema to have a uniqueKeyFie ld implemented using StrField you should use the type StrField ('string') for the field used in

Solr Got Exceptions When "schema.xml" is Changed

2010-12-04 Thread Bing Li
Dear all, I am a new user of Solr. Now I am just trying to try some basic samples. Solr can be started correctly with Tomcat. However, when putting a new schema.xml under SolrHome/conf and starting Tomcat again, I got the following two exceptions. The Solr cannot be started correctly unless usin

FastVectorHighlighter ignoring fragmenter parameter . . .

2010-12-04 Thread CRB
Got the FVH to work in Solr 3.1 (or at least I presume I have given I can see multi-color highlighting in the output.) But I am not able to get it to recognize the "regex" fragmenter. I get no change in output if I specify the fragmenter. In fact, I can even enter bogus names for the fragmente

Re: How to make a client in JSP which will take output from Solr Server

2010-12-04 Thread Anurag
Ok, I solved it by just opening the connection and then parsing the output from xml to front page. Though It has some security isuue... - Kumar Anurag -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-make-a-client-in-JSP-which-will-take-output-from-Solr-Server-tp1

Re: Batch Update Fields

2010-12-04 Thread Erick Erickson
When you define your fieldType at index time. My idea was that you substitue these on the way in to your index. You may need a specific field type just for your country conversion Perhaps in a copyField if you need both the code and full name Best Erick On Sat, Dec 4, 2010 at 12:16 PM, Ad

Re: Batch Update Fields

2010-12-04 Thread Adam Estrada
Synonyms eh? I have a synonym list like the following so how do I identify the synonyms on a specific field. The only place the field is used is as a facet. original field => country name AF => AFGHANISTAN AX => ÅLAND ISLANDS AL => ALBANIA DZ => ALGERIA AS => AMERICAN SAMOA AD => ANDORRA AO => AN

Re: autocommit commented out -- what is the default?

2010-12-04 Thread Yonik Seeley
On Sat, Dec 4, 2010 at 10:36 AM, Brian Whitman wrote: > Hi, if you comment out the block in solrconfig.xml > > > > Does this mean that (a) commits never happen automatically or (b) some > default autocommit is applied? Commented out means they never happen automatically (i.e., no default). In ge

autocommit commented out -- what is the default?

2010-12-04 Thread Brian Whitman
Hi, if you comment out the block in solrconfig.xml Does this mean that (a) commits never happen automatically or (b) some default autocommit is applied?

RE: finding exact case insensitive matches on single and multiword values

2010-12-04 Thread Jonathan Rochkind
ALL solr queries are case-sensitive. The trick is in the analyzers. If you downcase everything at index time before you put it in the index, and downcase all queries at query time too -- then you have case-insensitive query. Not because the Solr search algorithms are case insensitive, but

Re: finding exact case insensitive matches on single and multiword values

2010-12-04 Thread Ahmet Arslan
> Then to the solution of tweaking the fieldtype for me to > work. > I have this right now: >     >     class="solr.TextField" sortMissingLast="true" > omitNorms="true"> >     >         class="solr.KeywordTokenizerFactory"/> >         class="solr.LowerCaseFilterFactory"/> >     >    

Re: Problem with DIH delta-import delete.

2010-12-04 Thread Koji Sekiguchi
(10/11/17 20:18), Matti Oinas wrote: Solr does not delete documents from index although delta-import says it has deleted n documents from index. I'm using version 1.4.1. The schema looks like uuid Relevant fields from database tables: TABLE: blogs and en

Re: finding exact case insensitive matches on single and multiword values

2010-12-04 Thread PeterKerk
Geert-Jan and Erick, thanks! What I tried first is making it work with string type, that works perfect for all lowercase values! What I do not understand is how and why I have to make the casing work at the client, since the casing differs in the database. Right now in the database I have values

Re: Reading timestamp for DIH

2010-12-04 Thread Koji Sekiguchi
(10/11/24 6:05), Siddharth Powar wrote: Hey, Is it possible to read the timestamp that the DataImportHandler uses for a delta-import from a location other than "conf/dataimport.properties". Thanks, Sid No. There is an open issue for this problem: https://issues.apache.org/jira/browse/SOLR-19