Thanks a lot Erik. I would try it and let me know
Erik Hatcher wrote:
On Apr 29, 2009, at 12:19 AM, Geetha wrote:
I need a function (through solr ruby) for ruby that will allow us to
clear everything
require 'solr'
solr = Solr::Connection.new(http://localhost:8983/solr;)
ahmed baseet schrieb:
I first converted the whole string to
byte array and then used that byte array to create a new utf-8 encoded sting
like this,
I'm not sure that this is required at all. Java strings have the same
representation internally no matter what they were created from. Thus,
the
ahmed baseet schrieb:
I tried something stupid but working though. I first converted the
whole string to byte array and then used that byte array to create a
new utf-8 encoded sting like this,
// Encode in Unicode UTF-8
byte [] utfEncodeByteArray = textOnly.getBytes();
This
hi,
I was wondering how we can improve the query response time from solr.
Is it possible to put my index into ram to increase performance.Does solr
provide any such functionality???
(like RAMDirectory in lucene.) (working on linux)
I tried to put the index in /dev/shm/ but didn't get ny
I have already ran out of memory after a cronjob indexing as much times as
possible during a day.
Will activate GC loggin to see what it says...
Thnks!
Shalin Shekhar Mangar wrote:
On Wed, Apr 29, 2009 at 7:44 PM, Marc Sturlese
marc.sturl...@gmail.comwrote:
Hey there, I am doing some
Hello List,
Our production server is using j2sdk1.4.2_12 and solr requires Java 1.5 .
So it is must to use java 1.5 in order to use Solr?.
Can anyone tel me what issues can be faced if we use java1.4 ?
So do we need to implement any utility to make use of solr in java 1.4
environment?
Solr indeed requires Java 1.5.
I am not sure if anyone has tried this but you may be able to get it to
work after applying Retroweaver:
http://retroweaver.sourceforge.net/
However I don't think retroweaver re-targets classes/methods in 1.5 that are
not in 1.4. Not sure.
~ David Smiley
Solr uses java.util.concurrent packages which is not available in java1.4.
So it may be impossible to make Solr work in java 1.4
On Thu, Apr 30, 2009 at 5:47 PM, Smiley, David W. dsmi...@mitre.org wrote:
Solr indeed requires Java 1.5.
I am not sure if anyone has tried this but you may be
Thanks all. Is there any other way like retroweaver?
-Original Message-
From: Noble Paul നോബിള് नोब्ळ् [mailto:noble.p...@gmail.com]
Sent: Thursday, April 30, 2009 5:58 PM
To: solr-user@lucene.apache.org
Subject: Re: java version for solr.
Solr uses java.util.concurrent packages which
solr find the specified document, extracts its interesting terms as
configured, and uses the interesting terms for its query does it not?
If so, would it be that inappropriate to highlight snippets in the similar
documents it finds showing which interesting terms occur in which fields?
Just a
Hi
I have half a million records indexed and need to filter results on a term
by the first letter. For Example the search term is 'I love' and returns a
few thousand records. I need to filter these results for all artists
beginning with 'A'.
I've tried:
'fq=artistText:A*'
But then get no
Java 1.4.2 is obsolete and unsupported. It is foolish to run production
on such old software.
Java 1.4 was originally released in 2002 and Sun stopped supporting it
in Dec 2008. That means no more fixes, including security fixes. See this
page:
http://java.sun.com/j2se/1.4.2/
The only way to
it sounds to me like the field you're using (artistText) is tokenized
and lowercased. it might be good to go over the wiki pages again:
http://wiki.apache.org/solr/SolrFacetingOverview
if you keep having problems, post your schema...cheers,
rob
On Thu, Apr 30, 2009 at 10:21 AM, Andrew
Hello,
How would I go about creating an aggregate entry? Does it go in the
data-config.xml file?
Also, out of curiosity, how can I access the UUIDField variable? It mat be
required for something else.
Cheers
Erik Hatcher wrote:
On Apr 28, 2009, at 9:49 AM, ahammad wrote:
Is it possible
On Thu, Apr 30, 2009 at 8:42 PM, ahammad ahmed.ham...@gmail.com wrote:
Hello,
How would I go about creating an aggregate entry? Does it go in the
data-config.xml file?
You can use the TemplateTransformer to fix the table name followed by the pk
of the table.
e.g.
field column=uniqueKey
A top 100 website is currently looking for a developer with
Solr/Lucene experience to serve as a search architect/engineer. You
will be working on an RD effort for a multi-lingual search platform
based upon Apache Solr. This position is based just out of Atlanta,
GA, and we are looking for
Yes, I understand you can't highlight a documented within a document.
However, with MLT you a using the interesting terms from the source
document(s) to find similar results. An obvious solution would be
highlighting the interesting terms that matched and thus made the
result similar.
My apologies if this sounds like a silly question but for this project, how
do I go about submitting code suggestions/improvements? They aren't
necessarily bugs as such but rather just cleaning up some perceived
strangeness (or even suggesting a package change). Would I need to create a
JIRA
Yup!
One thing though is that if you see some big changes you want to make,
you should probably join the solr-dev list and broach the topic there
first to make sure you are headed on the right path. The committers
typically don't want to introduce change for change's sake, but
cleanup
How to write a custom query parser?When i get a query from client I have to
parse it and append that field with a charecter for searching on that
field.Can anyone tried this.
Please help me in doing this.How to configure this queryparser in solr.
Thanks,
Raju
--
View this message in context:
Hi all,
I am having problems with search for double datatype. I'm testing
comparing this result with sum of results of searches of ranges 0 TO
500 and 501 TO 1000 and there are diferent results. I've read that
the correct datatype for money fields is double but something is not
working for
Hello,
I'm getting an error when trying to create stats on an sfloat field.
The field is for price and when there is no decimal it works fine but
when there is a decimal (e.g., 24.99) I get an error:
java.lang.StringIndexOutOfBoundsException: String index out of range: 2
Changing the
On Fri, May 1, 2009 at 12:27 AM, Nasseam Elkarra nass...@bodukai.comwrote:
Hello,
I'm getting an error when trying to create stats on an sfloat field. The
field is for price and when there is no decimal it works fine but when there
is a decimal (e.g., 24.99) I get an error:
Hello Solrites (or Solrorians)
I prefer Solrdier :)
Is it possible to get the average ranking score for a set of docs that
would be returned for a given facet value.
If not in SOLR, what about Lucene?
How hard to implement?
I have years of Java experience, but no Lucene coding
Hi,
The lastModified field the Solr status seems to only be updated when a
commit/optimize operation takes place.
Is there any way to determine when a core has been changed, including any
uncommitted add operations?
Thanks,
James
Use sdouble instead of double for range queries since the
lexicographic ordering isn't equal to the numeric ordering.
Koji
Iris Soto wrote:
Iris Soto escribió:
Hi all,
I am having problems with search for double datatype, for example:
I'm testing comparing results of search in a
Hey Guys,
I have 2 indexes with one having hotel content and other containing reviews for
hotels. When a user queries for a location the logic first calls the hotel
index to get hotels for the location, then it needs to call review index to ask
for all the reviews for all the hotels. So, I
Iris Soto escribió:
Iris Soto escribió:
Hi all,
I am having problems with search for double datatype, for example:
I'm testing comparing results of search in a range of 0 TO 1000,
with the result of the sum from searches between ranges 0 TO 500
and 501 TO 1000 and there are diferent
(+(rev.headline:beach^2.0) | rev.comments:beach^2.0)~0.01 ()) (+
hot.id:5823 +hot.id:5847)
Your hot.id's are not OR'd. They are AND'ed. (+hot.id:5823 +hot.id:5847)
should have been (hot.id:5823 hot.id:5847).
Cheers
Avlesh
On Fri, May 1, 2009 at 4:26 AM, Ankush Goyal
All the reviews for all the hotels or all the reviews for all the matched
hotels?
Your query doesn't look like the latter, and the latter would make sense.
For the latter, it should be something like this:
+(hot.id:AAA OR hot.id:BBB) rev.hot.id:AAA rev.hot.id:BBB
Otis
--
Sematext --
Jianhan,
You didn't mention how old your version of Solr is. Try with the latest
nightly build first, please.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
From: Jian Han Guo jian...@gmail.com
To: solr-user@lucene.apache.org
Sent:
Hi Andrew,
Is this starts with letter _ query going to be common in your system? If so,
may I suggest you add another field that stored just the initial letter and
stick that in fq? That will get rid of a single-char prefix wildcard query,
which is *expensive*! (read: slow!)
Otis
--
Hi,
Yeah, most of the time that is the case because people tend to lower-case when
indexing in order to get case-insensitive searches. Technically, wildcard
queries could match even when they are upper-case - if the input was not
lower-cased at index time.
Otis
--
Sematext --
Sean,
I haven't looked into this very closely yet, but since you are on the bleeding
edge Solr and are looking for pointers, let me point out the new
FieldAnalysisRequestHandler and DocumentAnalysisRequestHandler.
[o...@localhost src]$ ff Field\*java | grep Handler.java
Several options:
- use tmpfs (loads everything in RAM)
- force the FS/OS to cache your index (e.g. cat /path/to/index/* /dev/null)
- warm up your index well (e.g. *:* + sort queries if you sort)
- make use of Solr caches
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
Hello Simon,
I'll assume you are using Solr 1.3. Grab the latest Solr nightly and try with
that - your multi-token facets should be faster (are you sure, sure sure you
are ending up with a single token).
Also, unrelated to this most probably is the suspiciously large JVM heap. My
guess is
did you try to POST the query?
On Fri, May 1, 2009 at 12:43 AM, ANKITBHATNAGAR abhatna...@vantage.com wrote:
Hi Guys,
I am using solr 1.3 for performing search.
I am using facet search and I am getting : connection reset error when the
Query
The snapshoot feature is not yet tested . Could you please post the
full stacktrace from the server console. I shall open an issue
--Noble
On Fri, May 1, 2009 at 3:33 AM, Jian Han Guo jian...@gmail.com wrote:
Hi,
If there is no new document added since the last snapshot is created, the
We rebooted a machine, and the permissions on the external drive where
the index was stored had changed. We didn't realize it immediately,
because searches were working and updates were not throwing errors
back to the client.
These ended up in catalina.out
Apr 22, 2009 11:57:12 PM
39 matches
Mail list logo