yes, it worked.
And i got the reason for the error.
Thanks a lot.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Null-pointer-exception-in-spell-checker-at-addchecker-method-tp4105489p4105636.html
Sent from the Solr - User mailing list archive at Nabble.com.
On Tue, 2013-12-03 at 17:09 +0100, michallos wrote:
This occurs only on production environment so I can't profile it :-)
Sure you can [Smiley]
If you use jvisualvm and stay away from the Profiler-tab, then you
should be fine. The Sampler performs non-intrusive profiling. Not as
thorough as real
Hi Salman,
I am confused because with surround no analysis is applied at query time. I
suspect that surround query parser is not kicking in. You should see SrndQuery
or something like at parser query section.
On Monday, December 9, 2013 6:24 AM, Salman Akram
Can you try setting group.truncate to true?
On Sunday, December 8, 2013 3:18 PM, Cool Techi cooltec...@outlook.com wrote:
Any help here?
From: cooltec...@outlook.com
To: solr-user@lucene.apache.org
Subject: Faceting within groups
Date: Sat, 7 Dec 2013 14:00:20 +0530
Hi,
I am not
thanks guys, that worked
On 6 December 2013 23:55, Shawn Heisey s...@elyograg.org wrote:
On 12/6/2013 8:58 AM, Peri Stracchino wrote:
I'm trying to upgrade a solr installation from 1.4 (yes, really) to 4.6.0,
and I find our requesthandler was solr.DisMaxRequestHandler, which is now
not
on production - no I can't profile it (because of huge overhead) ... Maybe
with dynamic tracing but we can't do it right now.
After server restart, delta time reset to 15-20 seconds so it is not caused
by the mergeFactor.
We have SSD and 70GB RAM (it is enough for us).
--
View this message in
Hi,
I am using Solr for searching my email data. My application is in C++ so I a
using CURL library to POST the data to Solr for indexing. I am posting data
in XML format and some of the XML fields are in plain text and some of the
fields are in binary format. I want to know what should I do so
Hi Manju,
Ahmet is me :) Faceting will be OK with lowercase field type. Even if it is
solr.TextField. KeywordTokenizer keeps its input as a single token. Similar
behavior as string field. With solr.TextField + KeywordTokenizer you can add
further token filters. For example lowercase filter.
On Mon, 2013-12-09 at 11:29 +0100, michallos wrote:
on production - no I can't profile it (because of huge overhead) ... Maybe
with dynamic tracing but we can't do it right now.
https://blogs.oracle.com/nbprofiler/entry/visualvm_1_3_released
First section: Sampler In The Core Tool.
After
Not a solution, but a couple of thoughts:
1) For your email address fields, you are escaping the brackets, right?
Not just solr solr
s...@abc.com as you show, but the and escaped, right? Otherwise,
those email addresses become part of XML markup and mess it all up
2) Your binary content is
Hi,
I'm in the process of migrating an application that queries Solr to use
a new sharded SolrCloud, and as part of this I'm adding the shard key to
the document id when we index documents (as we're using grouping and we
need to ensure that grouped documents end up on the same shard) e.g.
Hi Daniel,
TermQueryParser comes handy when you don't want to escape.
q = {!term
f=id}156a05d1-8ebe-4f3c-b548-60a84d167a16!643fd57c-c65e-4929-bc0e-029aa4f07475
On Monday, December 9, 2013 2:14 PM, Daniel Bryant
daniel.bry...@tai-dev.co.uk wrote:
Hi,
I'm in the process of migrating an
Hi Munusamy,
A typical core directory contains a conf/ folder and a data/ folder
The conf directory should contain the solrconfig.xml and schema.xml
You should have a folder with the same name as the instanceDir parameter
on the admin UI. Inside this folder the conf/ and data/ directories should
I am implementing solr search in my application.I am indexing the data from
mysql server to xml file,using the version solr 1.4.My question is
1.Is it possible to retain the indexed xml data into a csv or pdf file.
2.Is it possible to save the data from indexed xml to mysql server.For
I am trying to implement a ranged field type in a booking system.
The price structure is variable between 2 dates (determined by the property
owner)
So it looks like this
Date A - Date B = Price Value
I've been looking through a lot of docs, but so far have not been able to
find how I could
prices: [{start-date: 05-01-2013,end-date: 02-03-2013,price:
760},{start-date: 02-03-2013,end-date: 06-04-2013,price:
800},{start-date: 06-04-2013,end-date: 01-06-2013,price:
1028},{start-date: 01-06-2013,end-date: 29-06-2013,price:
1240},{start-date: 29-06-2013,end-date: 06-07-2013,price:
Yup on debugging I found that its coming in Analyzer. We are using Standard
Analyzer. It seems to be a SOLR 4 issue with Common Grams. Not sure if its
a bug or I am missing some config.
On Mon, Dec 9, 2013 at 2:03 PM, Ahmet Arslan iori...@yahoo.com wrote:
Hi Salman,
I am confused because with
But again, as Ahmet mentioned… it doesn't look like the surround query parser
is actually being used. The debug output also mentioned the query parser
used, but that part wasn't provided below. One thing to note here, the
surround query parser is not available in 1.4.1. It also looks like
Hi All,
I have a written a custom solr function and I would like to read a property
of the document inside my custom function. Is it possible to get that using
Solr?
For eg. inside the floatVal method, I would like to get the value of the
attribute name
public class CustomValueSource extends
I have a new question about this issue - I create a filter queries of
the form:
fq=start_time:[* TO NOW/5MINUTE]
This is used to restrict the set of documents to only items that have a
start time within the next 5 minutes. Most of my indexes have millions
of documents with few documents that
Hello,
Is this email address still valid?
Kind Regards
2013/12/4 Mehdi Burgy gla...@gmail.com
Hello,
We've recently launched a job search engine using Solr, and would like to
add it here: https://wiki.apache.org/solr/PublicServers
Would it be possible to allow me be part of the
Hello,
I am using SolrCloud 4.6.0 with two shards, two replicas by shard and with two
collections.
collection fr_blue:
- shard1 - server-01 (replica1), server-01 (replica2)
- shard2 - server-02 (replica1), server-02 (replica2)
collection fr_green:
- shard1 - server-01 (replica1), server-01
I was trying to locate the release notes for 3.6.x it is too old, if I
were you I would update to 3.6.2 (from 3.6.1), it shouldn't affect you
since it is a minor release, locate the release notes and see if
something that is affecting you got fixed, also, I would be thinking on
moving on to
Hi Alexandre,
Thanks very much for responding my post. Pls. find my response in-line:
1) For your email address fields, you are escaping the brackets, right?
Not just solr solr
[hidden email] as you show, but the and escaped, right? Otherwise,
those email addresses become part of XML
Which are you solr startup parameters (java options) ?
You can assign more memory to the JVM by specifying -Xmx=10G or whichever
value works for you.
-
Thanks,
Michael
--
View this message in context:
http://lucene.472066.n3.nabble.com/JVM-crashed-when-start-solr-tp4105702p4105705.html
I can confirm i've seen this issue as well on trunk, a very recent build.
-Original message-
From:Elodie Sannier elodie.sann...@kelkoo.fr
Sent: Monday 9th December 2013 16:43
To: solr-user@lucene.apache.org
Cc: search5t...@lists.kelkoo.com
Subject: SolrCloud 4.6.0 - leader
Unfortunately, in a test environment, this happens in version 4.4.0 of
Solr as well.
I was trying to locate the release notes for 3.6.x it is too old, if I
were you I would update to 3.6.2 (from 3.6.1), it shouldn't affect you
since it is a minor release, locate the release notes and see if
If you want a start time within the next 5 minutes, I think your filter
is not the good one.
* will be replaced by the first date in your field
Try :
fq=start_time:[NOW TO NOW+5MINUTE]
Franck Brisbart
Le lundi 09 décembre 2013 à 09:07 -0600, Patrick O'Lone a écrit :
I have a new question
Did you add the Garbage collection JVM options I suggested you?
-XX:+UseG1GC -XX:MaxGCPauseMillis=50
Guido.
On 09/12/13 16:33, Patrick O'Lone wrote:
Unfortunately, in a test environment, this happens in version 4.4.0 of
Solr as well.
I was trying to locate the release notes for 3.6.x it is
Yeah, I tried G1, but it did not help - I don't think it is a garbage
collection issue. I've made various changes to iCMS as well and the
issue ALWAYS happens - no matter what I do. If I'm taking heavy traffic
(200 requests per second) - as soon as I hit a 5 minute mark - the world
stops - garbage
On 12/9/2013 9:20 AM, neerajp wrote:
I tried to use ExtractingUpdateProcessor but soon came to know that the same
is not rolled out in solr 4.5
I am not sure how to use ExtractingRequestHandler for an XML document having
some of the fields in plain text and some of the fields in random binary
Hi michael,
Thank you for you response. I start solr with follow command line:
java -Xms10240m -Xmx20480m -Dbootstrap_confdir=./solr/conf
-Dcollection.configName=myconf -DzkRun -DzkHost=node4:9983 -DnumShards=3
-jar start.jar
It doesn't work any more. the solr server crashed when the
In order to set discountOverlaps to true you must have added the
similarity class=solr.DefaultSimilarityFactory to the schema.xml, which
is commented out by default!
As by default this param is false, the above situation is expected with
correct positioning, as said.
In order to fix the field
you may want to start by updating both your solr and JVM to more recent
releases. looks like you are running solr 4.3.0 and java 6 u31 in your trace.
i would suggest trying with solr 4.5.1 and java 7 u45.
From: Wukang Lin vboylin1...@gmail.com
Sent:
Well, I want to include everything will start in the next 5 minute
interval and everything that came before. The query is more like:
fq=start_time:[* TO NOW+5MINUTE/5MINUTE]
so that it rounds to the nearest 5 minute interval on the right-hand
side. But, as soon as 1 second after that 5 minute
: Is this email address still valid?
:
: Kind Regards
Mehdi: i don't understand your question, particularly in the context of
the thread you are replying to.
On Dec 4, you asked if your wiki id (madeinch) could be added to the
editing group for the solr wiki, and Erick Erickson replied on
Values of the field [street] in my DB may be Castle Road
However, I want to be able to find these values using lowercase including
dashes, so castle-road would be a match.
When I use fieldtype text_lower_space, which holds a
solr.WhitespaceTokenizerFactory, the value is split in 2 values, Castle
On 12/9/2013 10:29 AM, Boogie Shafer wrote:
you may want to start by updating both your solr and JVM to more recent
releases. looks like you are running solr 4.3.0 and java 6 u31 in your trace.
i would suggest trying with solr 4.5.1 and java 7 u45.
There are bugs in Java 7 which make using
I would probably do something like create a function that called your
stored procedure and returned the function, and then call TABLE() on the
result of your function so that DataImportHandler gets something that looks
like a table to it. I'm not sure that DataImportHandler is set up to deal
with
: But it still has the error about TrimFilterFactory in it, which I reported a
couple of days back.
Bernd, thanks for reporting this -- I did not notice your email when you
initially sent it, but it was after the vote for hte RC began anyway, and
was not brought up in the VOTE thread as a
aah good to know. i hadn't seen any issues on our solr 4.5.1 setups with 7u45
yet but perhaps we've just been lucky so far.
From: Shawn Heisey s...@elyograg.org
Sent: Monday, December 09, 2013 09:46
To: solr-user@lucene.apache.org
Subject: Re: JVM
On 09 Dec 2013, at 17:20 , neerajp neeraj_star2...@yahoo.com wrote:
2) Your binary content is encoded in some way inside XML, right? Not just
random binary, which would make it invalid XML? Like base64 or something?
[Neeraj]: I want to use random binary(*not base64 encoded*) in some of
Can we please give some thought to producing these manuals in ebook formats?
On Mon, Dec 2, 2013 at 12:28 PM, Chris Hostetter hoss...@apache.org wrote:
The Lucene PMC is pleased to announce the release of the Apache Solr
Reference Guide for Solr 4.6.
This 347 page PDF serves as the
Smells like an XY problem ...
Can you please describe what your end goal is in writing a custom
function, and what you would do with things like the name field inside
your funciton?
In general, accessing stored field values for indexed documents ca be
prohibitively expensive, it rather
: Can we please give some thought to producing these manuals in ebook formats?
People have given it thought, but it's not as simple as just snapping our
fingers and making it happen.
If you would like to contibute to the effort of figuring out the
how/where/what to make this happening, there
no, its turned on by default in the default similarity.
as i said, all that is necessary is to fix your analyzer to emit the
proper position increments.
On Mon, Dec 9, 2013 at 12:27 PM, Manuel Le Normand
manuel.lenorm...@gmail.com wrote:
In order to set discountOverlaps to true you must have
Hi Robert and Manuel.
The DefaultSimilarity indeed sets discountOverlap to true by default.
BUT, the *factory*, aka DefaultSimilarityFactory, when called by
IndexSchema (the getSimilarity method), explicitly sets this value to the
value of its corresponding class member.
This class member is
Is it possible to export the doc into markdown?
- Mensaje original -
De: Chris Hostetter hossman_luc...@fucit.org
Para: solr-user@lucene.apache.org
Enviados: Lunes, 9 de Diciembre 2013 14:00:34
Asunto: Re: ANNOUNCE: Apache Solr Reference Guide 4.6
: Can we please give some thought to
If so, can someone suggest how a query should be escaped (securely and
correctly)?
Should I escape the quote mark (and backslash mark itself) only?
On Fri, Dec 6, 2013 at 2:59 PM, Isaac Hebsh isaac.he...@gmail.com wrote:
Obviously, there is the option of external parameter ({...
created SOLR-5542.
Anyone else want it?
On Thu, Dec 5, 2013 at 8:55 PM, Isaac Hebsh isaac.he...@gmail.com wrote:
Hi,
It seems that a facet query does not use the global query parameters (for
example, field aliasing for edismax parser).
We have an intensive use of facet queries (in some
Isaac, is there an easy way to recognize this problem? We also index
synonym tokens in the same position (like you do, and I'm sure that our
positions are set correctly). I could test whether the default similarity
factory in solrconfig.xml had any effect (before/after reindexing).
--roman
On
I have a Solr configuration that I am trying to replicate on several machines
as part of a package installation. I have a cluster of machines that will
run the SolrCloud, with 3 machines in the cluster running a zookeeper
ensemble. As part of the installation of each machine, Solr is started
You can see the norm value, in the explain text, when setting
debugQuery=true.
If the same item gets different norm before/after, that's it.
Note that this configuration is in schema.xml (not solrconfig.xml...)
On Monday, December 9, 2013, Roman Chyla wrote:
Isaac, is there an easy way to
And it was only reproduced with JVM 32 bits, not 64 bits.
Guido.
On 09/12/13 17:46, Shawn Heisey wrote:
On 12/9/2013 10:29 AM, Boogie Shafer wrote:
you may want to start by updating both your solr and JVM to more
recent releases. looks like you are running solr 4.3.0 and java 6 u31
in your
Use of Deprecated Classes: SortableIntField SortableFloatField
SortableDoubleField
I am attempting to migrate from Solr 4.3 to Solr 4.6. When I
run the example in 4.6, I get warnings SortableIntField etc. asking me to
consult the documentation to replace them accordingly.
If these classes
Patrick,
Are you getting these stalls following a commit? If so then the issue is
most likely fieldCache warming pauses. To stop your users from seeing this
pause you'll need to add static warming queries to your solrconfig.xml to
warm the fieldCache before it's registered .
On Mon, Dec 9, 2013
Javadoc for this deprecated classes suggest to use TrieIntField, TrieFloatField
and TrieDoubleField respectively instead
10.12.2013, 01:19, O. Olson olson_...@yahoo.it:
Use of Deprecated Classes: SortableIntField SortableFloatField
SortableDoubleField
I am attempting to migrate from Solr 4.3
This is currently as designed / expected.
The reason that collection is replicated is because it's configured by
default in a default Solr install.
When you use the collections API, it only takes into account the current
nodes.
Eventually, there will be a mode where the Overseer will
Sounds like a bug. If you are seeing this happen in 4.6, I'd file a JIRA
issue.
- Mark
On Sun, Dec 8, 2013 at 3:49 PM, William Bell billnb...@gmail.com wrote:
Any thoughts? Why are we getting duplicate items in solr.xml ?
-- Forwarded message --
From: William Bell
1) i would strongly advise you against falling in the trap of thinking
things like Wiki posts should always be returned higher than blog posts
... unless you truly want *any* wiki post that matches your keywords, no
matter how tangentially and how poorly, to come back higher on the list
of
Thank you kydryavtsev andrey. Could you please suggest some examples. There
is no documentation on this. Also is there a reason why these classes are
not used in the examples even though they are deprecated?
I am looking for examples like below: Should I put the following in my
schema.xml file to
Daniel,
What version of Solr are you using? I'll see if I can recreate this.
On Mon, Dec 9, 2013 at 7:21 AM, Ahmet Arslan iori...@yahoo.com wrote:
Hi Daniel,
TermQueryParser comes handy when you don't want to escape.
q = {!term
OK...
Im a Windows guy who is being forced to learn SoLR on Ubuntu for the whole
organizations. I fancy myself somewhat capable of following directions but
this Solr concept is puzzling.
Here is what I think i know.
Solr houses indexes. Each index record (usually based on a document) need to
Hi Steve,
Good luck. I would start from doing online tutorial if you haven't already
(do it on Windows) and then reading a book. There are several on the
market, including my own for the beginners (
http://blog.outerthoughts.com/2013/06/my-book-on-solr-is-now-published/ ).
For SharePoint, I
: It seems that a facet query does not use the global query parameters (for
: example, field aliasing for edismax parser).
can you please give a specific example of a query that isn't working for
you?
Using this query against the examle data, things work exactly as i would
expect showing that
Thanks for the reply Alex...
in fact I am using your book!
the book seems like a good tutorial ...
My bitnami solr instance however already includes Solr (running in
background) and a directory structure :
root
--opt
bitnami
--apache-solr
solr
--collection1
I assume
I think you might be complicating your life with BitNami stack during
learning. I would just download latest Solr to your Windows desktop and go
through the examples there.
Still, you can try moving collection1 directory under 'solr' and putting my
examples there instead. Then, you don't need to
Thanks everybody for throwing your ideas.
So, I came to know that XML can not carry random binary data so I will
encode the data in base64 format.
Yes, I can write a custom URP which can convert the base64 encode fields to
binary fields. Now, I have binary fields in my document.* My question is
Hi,
Pls. find my response in-line:
That said, the obvious alternative is to use /update/extract instead of
/update – this gives you a way of handling up to one binary stream in
addition to any number of fields that can be represented as text. In that
case, you need to construct a POST request
On 12/9/2013 11:13 PM, neerajp wrote:
Hi,
Pls. find my response in-line:
That said, the obvious alternative is to use /update/extract instead of
/update – this gives you a way of handling up to one binary stream in
addition to any number of fields that can be represented as text. In that
case,
We used that syntax in 1.4.1 when Surround was not part of SOLR and has to
register it. Didn't know that it is now part of SOLR. Any ways this is a
red herring since I have totally removed Surround and the issue remains
there.
Below is the debug info when I give a simple phrase query having
Hi Salman,
I never used commons gram filer but I remember there are two classes in this
family. CommonGramsFilter and CommonGramsQueryFilter. It seems that
CommonsGramsQueryFilter is what you are after.
Hi Hoss,
Thanks a lot for your response. The actual problem is,
For every record that I query, I have to execute a formula and sort the
records based on the value of the formula.
The formula has elements from the record.
For eg. for the following document ,I need to apply the formula (maxprice
Could you please suggest some examples. There
is no documentation on this.
You can find examples with this field types in solr codebase (like this
http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/collection1/conf/schema.xml?view=cocontent-type=text%2Fplain
)
You can find more
Hi,
I have a requirement to standardize solr scores. For example,
docs with score 7 Most relevant
docs with score 7 and 4 Moderate
docs with score 4 Less relevant.
But in the real scenario this does not happen, as in few scenarios the top
document may have a score of 3.5.
Can i have the
Hey Iori,
Apologize for misunderstanding :-).
Yes agree with you, faceting will be OK with TextField type however I'm
concern about performance impact while running the facets if we have
millions of documents.
I wish in future we could apply tokensizers and filters to String fields.
:-).Thanks
You can implement it in this way:
Index number of cities as new int field (like field
name=numberOfCities2/field) and implement user function like
customFunction(price, numberOfCities, 1, 2000, 5)
Custom parser should parse this into value sources list. From first two field
sources we can
The scores cannot be normalized that way. You can try, but it just isn't going
to work the way you expect. Tell the people who wrote this requirement that it
isn't possible.
http://wiki.apache.org/lucene-java/ScoresAsPercentages
wunder
On Dec 9, 2013, at 10:21 PM, Prasi S prasi1...@gmail.com
Thanks Mark.
https://issues.apache.org/jira/browse/SOLR-5543
On Mon, Dec 9, 2013 at 2:39 PM, Mark Miller markrmil...@gmail.com wrote:
Sounds like a bug. If you are seeing this happen in 4.6, I'd file a JIRA
issue.
- Mark
On Sun, Dec 8, 2013 at 3:49 PM, William Bell billnb...@gmail.com
Pls. find my response in-line:
Assuming that your binary fields are mime attachments to email messages,
they will probably already be encoded as base 64. Why not just leave
them that way in solr too? You can't do much with them other than store
them right? Or do you have some kind of image
80 matches
Mail list logo