On Wed, Jul 6, 2011 at 3:43 PM, Chris Hostetter
wrote:
>
> : > The reason for the email is not that I can't find them, but because
> : > the project, I claim, should be advertising them more prominently on
> : > the web site than buried in a wiki.
> :
> : Actually they are linked on the hp but unf
Launching solr-4.0-20110705.223601-1.war, I get a class cast exception
org.apache.lucene.index.DirectoryReader cannot be cast to
org.apache.solr.search.SolrIndexReader with the following backtrace.
I'm launching solr-as-a-webapp via an embedded copy of tomcat 7. The
location of the index is set u
Hi,
I am using the following fieldType to change the index of a given field:
This is great for finding all things with or without profanity (as separate
queries), but I would like to get the value as part of a the query and let
the c
Hi,
I'm currently stuck with a (probably straightforward) problem concerning DIH
and dynamic fields.
I'm having a DB-Datasource with one of the columns (metaXml) containing an xml
string looking something like this:
The looks something like this:
…
…
In my schema.xml
: Invalid Date Math String:'2011-04-22T05:35:37Z '
...
: I notice the trailing spaces but in my document they are not present:
...
:
...
: I am adding the field to the document with:
...
: document.addField(element, sb); //sb is a string
There is at least one
: > The reason for the email is not that I can't find them, but because
: > the project, I claim, should be advertising them more prominently on
: > the web site than buried in a wiki.
:
: Actually they are linked on the hp but unfortunately not directly:
: http://lucene.apache.org/solr/#21+Febru
You're giving contradictory information here. This is NOT the query that
you submitted when you did the &debugQuery=on that you sent before.
Look in schema.xml for I bet its value is "title". I'm not
talking at all about the fact that the schema has title and text
fields, I'm looking
at the debug
Hi Eric
Yes, the schema.xml has both title and text fields... and i was changing
between them...perhaps, it was "title" when I sent you.
I am searching from the admin. this is the URL it gives me, after I click
search, from the admin window.
http://loalhost:8080/apache-solr-3.3.0/select/?q=head&
About being new... no problem, we all have to learn
But this part of your output:
query
query
title:query
title:query
indicates that something's weird with your query. Can you show the
exact URL you use? If you're searching form the admin interface, that
will be the URL in the results w
I question this point:
"But, if only an optimize has happened (the data in the index
didn't change), the component doesn't need to be modified"
An optimize may, for instance, change the internal Lucene
document IDs. What is your component doing?
Also, optimize should be a fairly rare occurrence.
Thanks, Erick.
On Wed, Jul 6, 2011 at 6:27 PM, Erick Erickson wrote:
> See ..src/test/org/apache/solr/analysis.
>
> But... you'll be changing the grammar, so
> I don't know how tests would actually help you. Actually
> I'd expect them to break. And you'd have to write some
> new ones of your own
Hi Eric
1)Default field in schema.xml : "text", which is the field
2) numDocs = 21501
maxDocs = 21554
3) Attaching debugQuery output with this mail
4) When I search for everything, (*:*)...it shows me all the documents, with
their fields.
I am new to asking questions on the list..and hence th
Hello everybody,
I am new in this forum and I need your expertize on Solr-Lucene.
I'm currently develop a new component for Solr for a professional project.
This component has to be refreshed when some mofications have been applied
in the index. But, if only an optimize has happened (the data in
Hi All
I'm indexing a set of xml documents using StreamingUpdateSolrServer but
I'm having trouble indexing dates.
I get an error like:
SEVERE: error
java.lang.Exception: Invalid Date Math String:'2011-04-22T05:35:37Z
'
Invalid Date Math String:'2011-04-22T05:35:37Z '
I noti
OK, there's not much information to go on here. So..
1> you pasted solrconfig.xml. Schema.xml contains your default field,
we need to see that too.
2> you say documents are shown in the stats page. There are two
numbers, numDocs and maxDocs.
numDocs is the number of documents that have NOT bee
Thanks. Is there any way to change what fields browse uses / asks for? I've
tried changing the code, and I'm clearly missing something. I either get the
same fields it was displaying before (and no search results) or I get something
that doesn't work at all.
-Original Message-
From:
I am sorry..I was checking the some other solr instance that ran on this
system...when I replied for the previous mail.
I still dont get any documents in return to my query...though the index
shows a size of some 20K documents.
Attaching my solrconfig.xml file with this mail.
On Wed, Jul 6, 2011
I need to take a new approach on accessing my Solr index. It's indexed where
each document is a biological node (drug, gene etc.). Each has multi-valued
fields for disease and species and other things. To keep the question as simple
as possible let's just worry about disease.
I'm faceting on t
Note that you can add that to the URL directly, as &fl=*
Also, simply querying q=time will look for terms ONLY in the
field in your schema.xml defined by in
your schema.xml ("text" by default)...
Best
Erick
On Wed, Jul 6, 2011 at 11:08 AM, Sowmya V.B. wrote:
> Hi Denis
>
> I got my answer.
> I
See ..src/test/org/apache/solr/analysis.
But... you'll be changing the grammar, so
I don't know how tests would actually help you. Actually
I'd expect them to break. And you'd have to write some
new ones of your own to exercise your changes to insure
that they do what you want
Best
Erick
On
Hi Denis
I got my answer.
I should have added *
in the defaults list.
Sowmya.
On Wed, Jul 6, 2011 at 3:57 PM, Sowmya V.B. wrote:
> Hi
>
> Url I am using to search:
>
> http://localhost:8080/apache-solr-3.3.0/select/?q=time&version=2.2&start=0&rows=10&indent=on
> http://localhost:8080/apache-s
I have solved this problem by creating myid file with Zookeper server id
in solr/zoo_data folder.
However, it's still not working.
Now when I try to run it, I have the following in the console output:
... Jul 6, 2011 4:23:11 PM org.apache.zookeeper.ClientCnxn$SendThread
startConnect INFO: Openin
Thank you for your answer. I downloaded solr from the link you sugested
and now it is ok, I can see the administration page. But it is strange
that a download from the solr site does not work. Tanks also to Way Cool.
> I don't know why, but it happened the same to me in the past (with
> 3.2).
Hi
Url I am using to search:
http://localhost:8080/apache-solr-3.3.0/select/?q=time&version=2.2&start=0&rows=10&indent=on
http://localhost:8080/apache-solr-3.3.0/admin/stats.jsp - is my stats page.
The part of my SolrConfig file, which said searchHandler - had these, which
I found on an example o
> Hi All
> I indexed a set of documents using Solr, which are shown in the stats page
> on the admin panel.
> However, the search interface always returns 0 documents to me.
> When I give the query as *:*, it does return me all the 20K odd documents I
> tried indexing just a few hours back.
> Can
Hi All
I indexed a set of documents using Solr, which are shown in the stats page
on the admin panel.
However, the search interface always returns 0 documents to me.
When I give the query as *:*, it does return me all the 20K odd documents I
tried indexing just a few hours back.
Can someone tell
OK, thanks. Do you know if there are tokenizer specific tests to run after
compilation?
On Wed, Jul 6, 2011 at 4:25 PM, Steven A Rowe wrote:
> Yes, you can change the rules and recompile.
>
> Before you recompile, you have to run 'ant jflex' to generate the java
> source.
>
> Steve
>
> -Ori
Yes, you can change the rules and recompile.
Before you recompile, you have to run 'ant jflex' to generate the java source.
Steve
-Original Message-
From: Dmitry Kan [mailto:dmitry@gmail.com]
Sent: Wednesday, July 06, 2011 9:21 AM
To: solr-user@lucene.apache.org
Subject: Re: solr.S
Hi Steven,
This looks very good. Thanks. Do I understand correctly, that I were to
change the tokenizer rules, I could go and change e.g. the token class
definitions (like ) in this file and recompile the code?
On Wed, Jul 6, 2011 at 3:45 PM, Steven A Rowe wrote:
> Hi Dmitry,
>
> The underlying
it is accidentally became elegant. anyway i got the solution without using
hl.mergeContiguous , because its not working.
look at http://jsfiddle.net/bhXbh/31/ for the solution
-
Thanks & Regards
Romi
--
View this message in context:
http://lucene.472066.n3.nabble.com/Highlight-whole-query-phr
On Jun 7, 2011, at 06:22 , roySolr wrote:
> Every product has different facets. I have something like this in my schema:
>
> multiValued="true"/>
One optimization, if you don't need the stored values, is to set
stored="false". Faceting is driven off the indexed terms, not the stored
values.
Hi Dmitry,
The underlying Lucene implementation is here:
http://svn.apache.org/repos/asf/lucene/java/tags/lucene_2_9_1/src/java/org/apache/lucene/analysis/standard/
StandardTokenizerImpl.jflex is probably where you should start.
Steve
-Original Message-
From: Dmitry Kan [mailto:dmitry.
concat is really unrelated to Solr, DIH doesn't understand
the SQL at all.
So my first guess would be that the SQL isn't doing quite
what you expect, can you run it by itself and get your expected
results?
What "doesn't work"? What error are you receiving? Or is the
data just not searchable? Have
Hey Martijn,
Did you find a good workaround?
Rih
On Sat, May 28, 2011 at 5:35 AM, Martijn Laarman wrote:
> Thanks Mike,
>
> I've opened https://issues.apache.org/jira/browse/SOLR-2553 for this.
>
> It's exciting to hear a workable implementation might be possible!
>
> On Fri, May 27, 2011 at
I believe the underlying grouping module is now technically able to do
this, because subclasses of the abstract first/second pass grouping
collectors are free to decide what type/value the "group key" is.
But, we have to fix Solr to allow for compound keys by creating the
necessary concrete subcla
Hi i want to highlight whole gold ring for this i am doing as
*var match = hitem.text[0].match(/(.*?)<\/em>/);
where hitem.text[0]=Gold Ring
*
but the problem is var match is getting only Gold so i am able to highlight
only Gold, i want to make it an array so that it contains both gold and
ring,
Have the same requirement. What is your workaround for this?
On Thu, May 12, 2011 at 7:40 AM, arian487 wrote:
> I'm wondering if there is a way to get the field collapsing to collapse on
> multiple things? For example, is there a way to get it to collapse on a
> field (lets say 'domain') but A
On Wed, Jul 6, 2011 at 12:07, Romi wrote:
> I included hl.mergeContiguous parameter. in my url but no effect on search
> result highlighting.
> actually i need to parse highlighting property. please look at
> http://jsfiddle.net/bhXbh/4/
I just noticed that I actually don't understand what proble
I included hl.mergeContiguous parameter. in my url but no effect on search
result highlighting.
actually i need to parse highlighting property. please look at
http://jsfiddle.net/bhXbh/4/
-
Thanks & Regards
Romi
--
View this message in context:
http://lucene.472066.n3.nabble.com/Highlight-wh
The XML comments were not taken.
This is the data-import.xml that does not work. In bold is the line
uncommented.
Hi all,
My data-import.xml looks like this:
On Wed, Jul 6, 2011 at 09:27, Romi wrote:
>
> Now how should i parse so that i got gold ring highlighted
>
Take a look at the hl.mergeContiguous parameter.
http://wiki.apache.org/solr/HighlightingParameters#hl.mergeContiguous
>From you patch I see TermFreqVector which provides the information I want.
I also found FieldInvertState.getLength() which seems to be exactly what I
want. I'm after the word count (sum of tf for every term in the doc). I'm
just not sure whether FieldInvertState.getLength() returns just the numb
My query in the unit test looks like this:
q=*:*&fq=_query_:"{!geofilt sfield=user.location_p pt=48.20927,16.3728
> d=50.0}" OR _query_:"{!geofilt sfield=location_p pt=48.20927,16.3728
> d=50.0}"&group=true&group.main=true&group.format=grouped&group.field=user.uniqueId_s&sfield=user.location_p&pt=
i am using solr for search and i implemented highlighting feature for my
search results. when i my search string is ring it highlight ring but when
search string is "gold ring" than also it highlight only gold, where i
wanted to highlight whole gold ring for highlighting i use description field
whi
Hi all!
solr.StandardTokenizerFactory -- is it possible to see the full description
of its behaviour for solr.1.4 somewhere? Wiki
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.StandardTokenizerFactory
is
very short..
--
Regards,
Dmitry Kan
Hi All
I am trying to port and application developed using Lucene based Indexer +
UIMA, in to SOlr+UIMA, for the past 3,4 days.
I am not able to comprehend where exactly does the UIMA processing get
added.
Does it get added after I say something like:
UpdateResponse response = server.add()...?
or
Thanks for your advice and for your comments.
In fact, we don't use facets to offer a facet UI to user, but to analyze
user request, then send a second request to Solr.
Lot of requests have lot of answers (often more then a thousand), so we need
to filter user request with fq parameter, if possib
Seems FieldCache consume all the heap.
At 2011-07-05 16:25:27,Chengyang wrote:
Is there any memory leak when I updating the index at the master node?
Here is the stack trace.
o.a.solr.servlet.SolrDispatchFilter - java.lang.OutOfMemoryError: Java heap
space
at
org.apache.solr.handler.
49 matches
Mail list logo