Field中的文本必须进行分析后才能生成索引
On Thu, Jun 28, 2012 at 12:02 PM, Sheng LUO sheng.peisi@gmail.com wrote:
Hi there,
how can I disable segmentation when querying?
I tried to delete analyzer type=query.../analyzer from schema.xml.
But it will use default analyzer instead.
Any ideas?
Thanks
It now hanging for 15 hour and nothing changes in the index directory.
Tips for further debugging?
On 06/27/2012 03:50 PM, Arkadi Colson wrote:
I'm sending files to solr with the php Solr library. I'm doing a
commit every 1000 documents:
autoCommit
maxDocs1000/maxDocs
!--
could you please use jstack to dump the call stacks?
On Thu, Jun 28, 2012 at 2:53 PM, Arkadi Colson ark...@smartbit.be wrote:
It now hanging for 15 hour and nothing changes in the index directory.
Tips for further debugging?
On 06/27/2012 03:50 PM, Arkadi Colson wrote:
I'm sending files
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
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,
看了你的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
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
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
(
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
use simple java api for url connection and print the stream u received...
On Thu, Jun 28, 2012 at 2:24 PM, Shanu Jha shanuu@gmail.com 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
-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
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?
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.
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
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.
lst
谢谢回复,这个我明白,已经找到方法在查询时不分词了,使用solr.whitespacetokenizerfactory或者solr.keywordstokenizerfactory就可以做到了
2012/6/28 wangjing ppm10...@gmail.com
Field中的文本必须进行分析后才能生成索引
On Thu, Jun 28, 2012 at 12:02 PM, Sheng LUO sheng.peisi@gmail.com
wrote:
Hi there,
how can I disable segmentation when
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 a
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 ark...@smartbit.be
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
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 workbreak
Hi All,
I am facing an ecpetion while trying to use dataImportHandler for Indexing
My solrcofig.xml help is:-
?xml version=1.0 encoding=UTF-8 ? config
abortOnConfigurationError${solr.abortOnConfigurationError:true}/abortOnConfigurationError
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
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:
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
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
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
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
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)
at
Hi,
I have a strange behaviour with the default request handler.
In the index i have :
doc
str name=date2012-06-28T10:22:51Z/str
str name=description/
str name=firstNameSophie/str
str name=iduser-6/str
str name=lastNameMichel/str
str name=screenNameSophie/str
str
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 mailrohi...@gmail.com wrote:
Hi All,
I am new to SOLR. Please hellp me with configuration of
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
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
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
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
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,
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 jochen.j...@avono.de wrote:
-BEGIN PGP SIGNED MESSAGE-
36 matches
Mail list logo