: Solr can process the query which has NOT operator ("-") in the head.
: If Solr find it, Solr adds MatchAllDocsQuery automatically
: in the front of that query as follows:
thta's not strictly true ... Solr doesn't *add* a MatchAllDocsQuery if the
query is entirely prohibitive, instead Solr execu
: The one issue I ran into was with daily rolling log files - maybe I
: missed it, but I didn't find that functionality in the JDK logging
: package, however it is in log4j.
:
: I'm not advocating a change, just noting this. We worked around it by
: leveraging Resin's support for wrapping a logger
On 12-Jul-07, at 6:25 PM, Lance Lance wrote:
A simplified version of the problem:
text -(collection:pile1)
works, while
text (-collection:pile1)
finds zero records.
see my other message. You cannot create a (sub)query with only
prohibited clauses. The second query asks:
Q = find docs
A simplified version of the problem:
text -(collection:pile1)
works, while
text (-collection:pile1)
finds zero records.
lance
_
From: Lance Lance [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 12, 2007 5:58 PM
To: 'solr-user@lucene.apache.org'
Subject: Question on query synta
Lance,
I think you are right. I met the same problem before.
> -(collection:pile1 OR collection:pile2)
Solr can process the query which has NOT operator ("-") in the head.
If Solr find it, Solr adds MatchAllDocsQuery automatically
in the front of that query as follows:
MatchAllDocsQuery -(coll
Ok, here's a simpler version:
_
From: Lance Lance [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 12, 2007 5:58 PM
To: 'solr-user@lucene.apache.org'
Subject: Question on query syntax
Are there any known bugs in the syntax parser? We're using lucene-2.2.0 and
Solr 1.2.
We have docume
On 12-Jul-07, at 5:58 PM, Lance Lance wrote:
Are there any known bugs in the syntax parser? We're using
lucene-2.2.0 and
Solr 1.2.
We have documents with searchable text and a field 'collection'.
This query works as expected, finding everything except for
collections
'pile1' and 'pile2'.
: the troubles comes when you integrate third-party stuff depending on
: log4j (as I currently do). Having said this you have a strong point when
: looking at http://www.qos.ch/logging/classloader.jsp
there have been several discussions baout changing the logger used by Solr
... the best summatio
Are there any known bugs in the syntax parser? We're using lucene-2.2.0 and
Solr 1.2.
We have documents with searchable text and a field 'collection'.
This query works as expected, finding everything except for collections
'pile1' and 'pile2'.
text -(collection:pile1 OR collection:pile2)
I was going to say... that exception should never happen since solr
controls and synchronizes adds/deletes at a higher layer (with only
one solr instance accessing an index, we don't really need lucene
level locking at all).
One major cause of this is a crash/restart of the JVM leaving a stale
lo
It looks like somehow the write.lock got hung. I manually removed the
lock, and now things are good.
Very strange.
++
| Matthew Runo
| Zappos Development
| [EMAIL PROTECTED]
| 702-943-7833
+
Hello!
I'm trying to remove a whole brand from our search index, but at the
same time we're also running an import for others. This means the
index is extreamly active at this time.
I am getting a lock timeout error, but not sure what to do about
it... should I just keep trying till it ca
That change doesn't have anything to do with where snappuller place the
snapshots.
Is the environment variable data_dir set up correctly in conf/scripts.conf?
That's where
snappuller puts the snapshots.
Bill
On 7/12/07, Kevin Lewandowski <[EMAIL PROTECTED]> wrote:
I've been running solr replic
: Is it possible to assign a custom sorting value for
: each of the values in the multivalued field? So that
: the document gets sorted differently, depending on the
: matched value in the multivalued field.
Sorting happens extremely independently from matching ... there is no
mechanism availabl
On 12-Jul-07, at 6:33 AM, vanderkerkoff wrote:
I/my boss and me worked it out.
The delete funtion in solr.py looks like this
def delete(self, id):
xstr = ''+self.escapeVal(`id`)+''
return self.doUpdateXML(xstr)
As we're not passing an integer it get's all c*nty booby, technical
term
Check two related discussions:
http://www.nabble.com/logging---slf4j--tf3366438.html#a9366144
where I suggested using slf4j
and:
http://www.nabble.com/Changing-Logging-in-Solr-to-Apache-Commons-Logging-tf3484843.html#a9744439
I'm still for switching to slf4j, but am pushing it as JDK logging is
: the troubles comes when you integrate third-party stuff depending on
: log4j (as I currently do). Having said this you have a strong point when
: looking at http://www.qos.ch/logging/classloader.jsp
there have been several discussions baout changing the logger used by Solr
... the best summatio
I've been running solr replication for several months with no issues
but recently had an instance where snappuller was running for about
1.5 hours. rsync was still active, so it was still copying data. I
also noticed that there was a snapshot.200707 directory inside of
the main index directory
solr requires 1.5. It uses generics and a bunch of other 1.5 code.
Jery Cook wrote:
QUESTION:
Jeryl Cook
^ Pharaoh ^
http://pharaohofkush.blogspot.com/
I need to make solr work with java 1.4, the orgnaization I work for has not
approved java 1.5 for the network...Before I download the so
On 7/12/07, Andrew Nagy <[EMAIL PROTECTED]> wrote:
My question is: Is there a way to change the limit per field? Let's say on
facet 2 I would like to display 10 values instead of 5 like the other facets.
From the wiki: http://wiki.apache.org/solr/SimpleFacetParameters
Parameters
These are
Hello, I would like to generate a list of facets, let's say on 5 fields. I
have the facet limit set to 5 so that for each of the 5 fields there will only
by up to 5 values.
My question is: Is there a way to change the limit per field? Let's say on
facet 2 I would like to display 10 values ins
Oh, and please don't cross-post :-)
On 7/12/07, Yonik Seeley <[EMAIL PROTECTED]> wrote:
On 7/12/07, Jery Cook <[EMAIL PROTECTED]> wrote:
> http://pharaohofkush.blogspot.com/
> I need to make solr work with java 1.4, the orgnaization I work for has not
> approved java 1.5 for the network...Before
On 7/12/07, Jery Cook <[EMAIL PROTECTED]> wrote:
http://pharaohofkush.blogspot.com/
I need to make solr work with java 1.4, the orgnaization I work for has not
approved java 1.5 for the network...Before I download the source code and
see if this is possible, what do u guys thing the level of effo
QUESTION:
Jeryl Cook
^ Pharaoh ^
http://pharaohofkush.blogspot.com/
I need to make solr work with java 1.4, the orgnaization I work for has not
approved java 1.5 for the network...Before I download the source code and
see if this is possible, what do u guys thing the level of effort will be?
Hi Erik,
the troubles comes when you integrate third-party stuff depending on
log4j (as I currently do). Having said this you have a strong point when
looking at http://www.qos.ch/logging/classloader.jsp
Cheers,
Siegfried Goeschl
Erik Hatcher wrote:
On Jul 12, 2007, at 9:03 AM, Siegfried
On Jul 12, 2007, at 9:03 AM, Siegfried Goeschl wrote:
would be using commons-logging an improvement? It is a common
requirement to hook up different logging infrastructure ..
My personal take on it is *adding* a dependency to keep functionality
the same isn't an improvement. JDK logging, w
1 we have to set the solr home in the main function manually, because there is
some problem to set �CDsolr.solr.home=… in the java command parameters, it
looks like SolrCore didn’t read the parameter,I'm not sure about this problem,
so we write in main function:
Config.setInstanceDir(“E:/apach
I/my boss and me worked it out.
The delete funtion in solr.py looks like this
def delete(self, id):
xstr = ''+self.escapeVal(`id`)+''
return self.doUpdateXML(xstr)
As we're not passing an integer it get's all c*nty booby, technical term.
So if I rewrite the delete to be like this
def
Hi folks,
would be using commons-logging an improvement? It is a common
requirement to hook up different logging infrastructure ..
Cheers,
Siegfried Goeschl
Erik Hatcher wrote:
On Jul 11, 2007, at 9:07 PM, solruser wrote:
How do I configure solr to use log4j logging. I am able to configure
ok, I'm now printing out the xstr variable that the delete in solr.py uses
when it's trying to delete.
it's coming out like this
'news:39'
Those quotes look suspicious
Going to work out how to switch more debugging on in solr now so I can see
what's going on exactly
--
View this message in con
Different tactic now
adding like this
idstring = "news:%s"; % self.id
c.add(id=idstring,url_t=e_url,body_t=body4solr,title_t=title4solr,summary_t=summary4solr,contact_name_t=contactname4solr)
c.commit(optimize=True)
Goes in fine, search results show an ID of news:36
Delete like this
delidstri
Done some more digging about this
here's my delete code
def delete(self):
from solr import SolrConnection
c = SolrConnection(host='localhost:8983', persistent=False)
e_url = '/news/' + self.created_at.strftime("%Y/%m/%d") + '/' +
self.slug
e_url = e_url.encode('as
On Jul 11, 2007, at 9:07 PM, solruser wrote:
How do I configure solr to use log4j logging. I am able to
configure tomcat
5.5.23 to use log4j. But I could not get solr to use log4j. I have
3 context
of solr running in tomcat which refers to war file in commons.
Solr uses standard JDK loggin
Hello,
>
> but honestly i haven't relaly tried anything like this ...
> the code for
> parsing the synonyms.txt file probaly splits the individual
> synonyms on
> whitespace to prodce multiple tokens which might screw you up
> ... you may
> need to get creative (perhaps use a PatternReplaceFil
Hello,
>
> Brievly, what I'm looking for is a query that launch
> something like this:
>
> Giving the user search expression
> "A B C D"
>
> Generated Lucene query :
> (myfield:I OR myfield:J OR myfield:O OR myfield:K)
>
> if someone knows a way to reach this goal, please tell me how, i'm
> a
Hello everyone
We're adding records to our 1.1 index through django and python like so,
using the jetty app.
This is in the save definition.
from solr import SolrConnection
c = SolrConnection(host='localhost:8983', persistent=False)
c.add(id=e_url,url_t=e_url,body_t=body4solr,title_t=title4solr,
36 matches
Mail list logo