Does ContentStreamDataSource support delta import?

2012-06-28 Thread jueljust
ContentStreamDataSource works fine with full-import command but i can't make it work with delta-import command, i have to use full-import and no clean instead Does ContentStreamDataSource support delta import? -- View this message in context: http://lucene.472066.n3.nabble.com/Does-ContentStreamD

Re: SolrJ Response

2012-06-28 Thread Sachin Aggarwal
hey, one more thing to add when u query to server u need to add the response type u need. have a look at this page. http://lucidworks.lucidimagination.com/display/solr/Response+Writers On Thu, Jun 28, 2012 at 6:14 PM, Jochen Just wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi,

Re: Strange "spikes" in query response times...any ideas where else to look?

2012-06-28 Thread Otis Gospodnetic
Peter, These could be JVM, or it could be index reopening and warmup queries, or   Grab SPM for Solr - http://sematext.com/spm - in 24-48h we'll release an agent that tracks and graphs errors and timings of each Solr search component, which may reveal interesting stuff.  In the mean time, lo

RE: Strange "spikes" in query response times...any ideas where else to look?

2012-06-28 Thread solr
Michael, Thank you for responding...and for the excellent questions. 1) We have never seen this response time spike with a user-interactive search. However, in the span of about 40 minutes, which included about 82,000 queries, we only saw a handful of near-equally distributed "spikes". We

RE: Strange "spikes" in query response times...any ideas where else to look?

2012-06-28 Thread Michael Ryan
A few questions... 1) Do you only see these spikes when running JMeter? I.e., do you ever see a spike when you manually run a query? 2) How are you measuring the response time? In my experience there are three different ways to measure query speed. Usually all of them will be approximately equ

Strange "spikes" in query response times...any ideas where else to look?

2012-06-28 Thread solr
Greetings all, We are working on building up a large Solr index for over 300 million records...and this is our first look at Solr. We are currently running a set of unique search queries against a single server (so no replication, no indexing going on at the same time, and no distributed

core isolation

2012-06-28 Thread Dominique Bejean
Hi, In Solr 3.x the parameter "abortOnConfigurationError=false" allows cores continue to work even if an other core fails due to a configuration error. This parameter doesn't exist anymore in Solr 4.0 but afetr some tests, it looks like cores are isolated from each other. By isolated, I mean

Re: How do we use HTMLStripCharFilterFactory

2012-06-28 Thread kiran kumar
Hi specify transformer="HTMLStripTransformer" at entity level and for the field you want to strip html just set stripHTML="true" It should work.. Kiran On Thu, Jun 28, 2012 at 4:09 PM, derohit wrote: > Hi All, > > I am new to SOLR. Please hellp me with configuration of > HTMLStripCharFilterFact

Strange behaviour with default request handler

2012-06-28 Thread dbenjamin
Hi, I have a strange behaviour with the default request handler. In the index i have : 2012-06-28T10:22:51Z Sophie user-6 Michel Sophie sophie 2012-06-28T10:22:51Z Sophia user-7 Martinez Sophia sophia And when i search for "soph"

Re: FileNotFoundException during commit. concurrences process?!

2012-06-28 Thread Karthik Muthuswami
On Jun 26, 2012, at 7:35 AM, stockii wrote: > Hello again. > > this is my Exception. > with SolrVersion: 4.0.0.2012.04.26.09.00.41 > > SEVERE: Exception while solr commit. > java.io.FileNotFoundException: _8l.cfs > at org.apache.lucene.store.FSDirectory.fileLength(FSDirectory.java:266) >

avgTimePerRequest JMX M-Bean displays with NaN instead of 0 - when no activity

2012-06-28 Thread geeky2
hello all, environment: solr 3.5, jboss, wily we have been setting up jmx monitoring for our solr installation. while running tests - i noticed that of the 6 JMX M-Beans (avgRequestsPerSecond, avgTimePerRequest, errors, requests, timeouts, totalTime) ... the avgTimePerRequest M-Bean was produci

Re: soft commits in EmbeddedSolrServer

2012-06-28 Thread Raimon Bosch
Yes, This worked for me: //Solr Server initialization System.setProperty("solr.solr.home", solrHome); CoreContainer.Initializer initializer = new CoreContainer.Initializer(); coreContainer = initializer.initialize(); server = new EmbeddedSolrServer(coreContainer, "your_corename"); //Create your

How do we use HTMLStripCharFilterFactory

2012-06-28 Thread derohit
Hi All, I am new to SOLR. Please hellp me with configuration of HTMLStripCharFilterFactory. If some tutorial is there, will be of great help. Regards Rohit -- View this message in context: http://lucene.472066.n3.nabble.com/How-do-we-use-HTMLStripCharFilterFactory-tp3991955.html Sent from the

index writer in searchComponent

2012-06-28 Thread Peyman Faratin
Hi Is it possible to add a new document to the index in a custom SearchComponent (that also implements a SolrCoreAware)? I can get a reference to the indexReader via the ResponseBuilder parameter of the process() method using rb.req.getSearcher().getReader() But is it possible to actually add

Re: Autocomplete using facets

2012-06-28 Thread David Smiley (@MITRE.org)
Ugo, I suggest simply manually filtering out "red" from the facet.prefix results you get back. Not ideal, but it's easy and your problem seems like an infrequent event and a minor nuisance. ~ David Smiley p.s. thanks for buying my book - Author: http://www.packtpub.com/apache-solr-3-enterpri

Re: LineEntityProcessor Usage

2012-06-28 Thread Lance Norskog
It creates one field with the line as a string. 'rawLine' http://www.lucidimagination.com/search/link?url=http://wiki.apache.org/solr/DataImportHandler To make other fields from the contents of the string, you can use the RegexTransformer to pull text out of the string. On Thu, Jun 28, 2012 at 9:

Error loading class 'org.apache.solr.handler.dataimport.DataImportHandler'

2012-06-28 Thread derohit
Hi All, I am facing an ecpetion while trying to use dataImportHandler for Indexing My solrcofig.xml help is:- ${solr.abortOnConfigurationError:true} LUCENE_36 search solrpingquery all

Re: Solved: WordBreakSolrSpellChecker ignores MinBreakWordLength?

2012-06-28 Thread Carrie Coy
Thanks! The combination of these two suggestions (relocating the wordbreak parameters to the spellchecker configuration and correcting the spelling of the parameter to "minBreakLength") fixed the problem I was having. On 06/28/2012 10:22 AM, Dyer, James wrote: Carrie, Try taking the "workbre

LineEntityProcessor Usage

2012-06-28 Thread kiran kumar
Hello, I have a question regarding configuration of LineEntityProcessor. How do we configure LineEntityProcessor to read a line of text from a file,parse the line and assign it to specific fields in schema. How exactly is the text in a line gets mapped to fields in schema. I have searched a lot and

Re: searching for more then one word

2012-06-28 Thread Kissue Kissue
The analysis page is your best friend in these circumstances. Use the analysis page in solr admin and turn verbose output for both index and query and see what the analysis chain looks like. You maybe able to find the culprit. On Thu, Jun 28, 2012 at 10:57 AM, Arkadi Colson wrote: > Hi > > I in

edismax parser ignores mm parameter when tokenizer splits tokens (hypenated words, WDF splitting etc)

2012-06-28 Thread Tom Burton-West
Hello, My previous e-mail with a CJK example has received no replies. I verified that this problem also occurs for English. For example in the case of the word "fire-fly" , The ICUTokenizer and the WordDelimeterFilter both split this into two tokens "fire" and "fly". With an edismax query and

Re: how to disable segmentation when querying?

2012-06-28 Thread Sheng LUO
谢谢回复,这个我明白,已经找到方法在查询时不分词了,使用solr.whitespacetokenizerfactory或者solr.keywordstokenizerfactory就可以做到了 2012/6/28 wangjing > Field中的文本必须进行分析后才能生成索引 > > > On Thu, Jun 28, 2012 at 12:02 PM, Sheng LUO > wrote: > > Hi there, > > > > how can I disable segmentation when querying? > > I tried to delete ... f

RE: WordBreakSolrSpellChecker ignores MinBreakWordLength?

2012-06-28 Thread Dyer, James
Carrie, Try taking the "workbreak" parameters out of the request handler configuration and instead put them in the spellchecker configuration. You also need to remove the "spellcheck." prefix. Also, the correct spelling for this parameter is "minBreakLength". Here's an example. wordbreak

RE: LineEntityProcessor Usage

2012-06-28 Thread Dyer, James
LineEntityProcessor outputs the entire line in a field called "rawLine". You then need to write a transformer that will parse out the data. But see https://issues.apache.org/jira/browse/SOLR-2549 for enhancements that will parse the data without needing a transformer, if the data is in fixed-w

Re: Query Logic Question

2012-06-28 Thread Rublex
Jack, Thank you the *:* solutions seems to work. -- View this message in context: http://lucene.472066.n3.nabble.com/Query-Logic-Question-tp3991689p3991881.html Sent from the Solr - User mailing list archive at Nabble.com.

WordBreakSolrSpellChecker ignores MinBreakWordLength?

2012-06-28 Thread Carrie Coy
I set MinBreakWordLength = 3 thinking it would prevent WordBreakSolrSpellChecker from suggesting corrections made up of subwords shorter than 3 characters, but I still get suggestions like this: query: Touch N' Match suggestion: (t o u ch) 'n (m a t ch) Can someone help me understand why? Her

Re: SolrJ Response

2012-06-28 Thread Jochen Just
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > I want to display response in json/xmk as it comes from solr. Why don't you use the JSON QueryResponseWriter from Solr directly? http://wiki.apache.org/solr/SolJSON should give you all you need to get started. Jochen - -- Jochen Just

Re: SolrJ Response

2012-06-28 Thread Sachin Aggarwal
use simple java api for url connection and print the stream u received... On Thu, Jun 28, 2012 at 2:24 PM, Shanu Jha wrote: > Hi, > > I am getting solr document after querying solr using solrJ. I think solrj > parse the response to generate its own response onject. I want to display > response i

LineEntityProcessor Usage

2012-06-28 Thread kiran kumar
Hello, I have a question regarding configuration of LineEntityProcessor. How do we configure LineEntityProcessor to read a line of text from a file,parse the line and assign it to specific fields in schema. How exactly is the text in a line gets mapped to fields in schema. I have searched a lot and

searching for more then one word

2012-06-28 Thread Arkadi Colson
Hi I indexed following strings: "abcdefg hijklmnop" When searching for abcdefg hijklmnop Solr returns the result but when searching for "abcdefg hijklmnop" Solr returns nothing. Any idea how to search for more then one word? [params] => SolrObject Object (

writing unit test for a search component which works only with distributed search

2012-06-28 Thread srinir
I have written a custom search component, but the code only supports distributed search. Since we dont use non-distributed search and the search works differently for non-distributed case, we decided to concentrate only on distributed search. I am trying to write unit test for my custom componen

RE: what is precisionStep and positionIncrementGap

2012-06-28 Thread ZHANG Liang F
看了你的blog,写得相当不错啊! 我有一个网站www.ecmkit.com,专注内容管理的。有空多交流! -Original Message- From: Li Li [mailto:fancye...@gmail.com] Sent: 2012年6月28日 15:54 To: solr-user@lucene.apache.org Subject: Re: what is precisionStep and positionIncrementGap read "How it works" of http://lucene.apache.org/core/old_v

Re: what is precisionStep and positionIncrementGap

2012-06-28 Thread Li Li
read "How it works" of http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/all/org/apache/lucene/search/NumericRangeQuery.html if you can read Chinese, I have a blog explaining the details of the implementation. http://blog.csdn.net/fancyerii/article/details/7256379 On Thu, Jun 28,

RE: what is precisionStep and positionIncrementGap

2012-06-28 Thread ZHANG Liang F
Thanks a lot, but the precisionStep is still very vague to me! Could you give me a example? -Original Message- From: Li Li [mailto:fancye...@gmail.com] Sent: 2012年6月28日 11:25 To: solr-user@lucene.apache.org Subject: Re: what is precisionStep and positionIncrementGap 1. precisionStep is