Hi,
Could someone give me some code examples on how Solr requests can be
called by Java code. I'm new to Java and I'm not very sure on how URLs
+ params can be called from java code and how the responses can be
captured. Or what th best practices are?
Grtz
On 1/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
...Could someone give me some code examples on how Solr requests can be
called by Java code...
Although our Java client landscape is still a bit fuzzy (there are
several variants floating around), you might want to look at the code
found
Thanks!
and how would you do it calling it from another web application, let's
say from a servlet or so? I need to do some stuff in my web java code,
then call the Solr service and do some more stuff afterwards
Quoting Bertrand Delacretaz [EMAIL PROTECTED]:
On 1/16/07, [EMAIL PROTECTED]
On 1/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
...and how would you do it calling it from another web application, let's
say from a servlet or so?...
Doesn't make much difference if your client is a standalone or a web
application: you Solr client class will need to be configured with
A newbie question on the same topic:
What about the case where solr and my application are deployed in the
same instance of say tomcat. Is there a way to skip the http requests
and use a direct api?
Regards,
Pavel
Bertrand Delacretaz wrote:
On 1/16/07, [EMAIL PROTECTED]
[EMAIL PROTECTED]
On Tue, 2007-01-16 at 12:52 +0100, [EMAIL PROTECTED] wrote:
Thanks!
and how would you do it calling it from another web application, let's
say from a servlet or so? I need to do some stuff in my web java code,
then call the Solr service and do some more stuff afterwards
Have a look at
On 1/16/07, Pavel Penchev [EMAIL PROTECTED] wrote:
...What about the case where solr and my application are deployed in the
same instance of say tomcat. Is there a way to skip the http requests
and use a direct api?...
The javax.servlet.RequestDispatcher interface allows you to access
other
I find Exception during commit/optimize: java.io.EOFException: no more
data when i index my data.
--
regards
jl
error information :Exception during commit/optimize: java.io.EOFException:
no more data available-expected end tag /optimize to close start
tag optimize from line 1, paser stopped on START_TAG seen optimize...
It work well and i check index data, and search.
i wanna know why it happen and how
thank u.
2007/1/16, Stephanie Belton [EMAIL PROTECTED]:
Hi,
You need to send optimize / rather than optimize (closing the tag)
HTH
Steph
--
regards
jl
Anyone having experience converting xml responses back to pojo's,
which technologies have you used?
Anyone doing json - pojo's?
Grtz
On Tue, 2007-01-16 at 14:58 +0100, [EMAIL PROTECTED] wrote:
Anyone having experience converting xml responses back to pojo's,
which technologies have you used?
Anyone doing json - pojo's?
Using pure xml myself but have a look at
https://issues.apache.org/jira/browse/SOLR-20
and
Hello,
is there anyone who has experience on internationalization
(internationalisation) with SOLR?
How do you setup a multi language data index? Should we use a dynamic field
like text_en, text_fr, text_es?
Is there a GermanPorterFilterFactory or FrenchPorterFilterFactory?
Thank you very
First: Please pardon the cross-post to solr-user for reference. I hope
to continue this thread in solr-dev. Please answer to solr-dev.
1) more documentation (and posisbly some locking configuration options) on
how you can use Solr to access an index generated by the nutch crawler (i
think
Hi, Jörg.
At the Tibetan Himalayan Digital Library, we are working with XML
files that have fields that might be in Tibetan, Chinese, Nepalese,
or English. Our solr schema.xml file looks like this:
dynamicField name=*_eng type=stringindexed=true
stored=true multiValued=true/
I wonder of jetty or tomcat can be configured to put logging output
for different webapps in different log files...
-Yonik
On 1/15/07, Ben Incani [EMAIL PROTECTED] wrote:
Hi Solr users,
I'm running multiple instances of Solr, which all using the same war
file to load from.
Below is an
On 1/15/07, Luis Neves [EMAIL PROTECTED] wrote:
Yes, but I have documents with different schemas on the same xml field, also,
that way I would have to know the schema of the documents being indexed (which
I don't).
Solr and Lucene don't really support indexing structured data such as
XML...
: I wonder of jetty or tomcat can be configured to put logging output
: for different webapps in different log files...
i've never tried it, but the tomcat docs do talk about
tomcat providing a custom implimentation of java.util.logging specificly
for this purpose.
Ben: please take a look at
Hi,
I am trying to implement a cocoon based application using solr for searching.
In particular, I would like to forward the request from my response page to
solr. I have tried several alternatives, but none of them worked for me.
One which would seem a logical way to me is to have response
[EMAIL PROTECTED] wrote:
Any ideas on how to implement a cocoon layer above solr?
You're far from the only one approaching solr via cocoon ... :)
The approach we took, passes the search parameters to a solrsearch
stylesheet, the heart of which is a cinclude block that embeds the
solr
: This problem is why some sloppiness is recommended when dealing with
: WordDelimiterFilter.
particularly when using the generate___Parts=true options
Nick: if you want simpler matching like this, you might want to consider
simplifying your definition of text ... if you look at the textTight
On Tue, 2007-01-16 at 16:19 -0500, Walter Lewis wrote:
[EMAIL PROTECTED] wrote:
Any ideas on how to implement a cocoon layer above solr?
I just finished a forrest plugin (in the whiteboard, our testing ground
in forrest) that is doing what you asked for and some pagination.
Forrest is cocoon
Using the fuzzy searching fixed the problem - I will have a play with
the analzyers and see if I can get it working nicely.
Thanks again, much apreciated.
On 1/17/07, Chris Hostetter [EMAIL PROTECTED] wrote:
: This problem is why some sloppiness is recommended when dealing with
:
On Tue, 2007-01-16 at 16:02 -0500, [EMAIL PROTECTED] wrote:
Hi,
I am trying to implement a cocoon based application using solr for searching.
In particular, I would like to forward the request from my response page to
solr. I have tried several alternatives, but none of them worked for me.
On Mon, 2007-01-15 at 13:42 +, Luis Neves wrote:
Hi!
Thorsten Scherler wrote:
On Mon, 2007-01-15 at 12:23 +, Luis Neves wrote:
Hello.
What I do now to index XML documents it's to use a Filter to strip the
markup,
this works but it's impossible to know where in the
: java.io.IOException: Server returned HTTP response code: 505 for URL:
: http://hostname/solr/select/?q=a b
:
:
: The interesting thing is that if I access http://hostname/solr/select/?q=a b
: directly it works.
i don't know anything about cocoon, but that is not a legal URL, URLs
can't have
On 1/15/07, Chris Hostetter [EMAIL PROTECTED] wrote:
PhraseQuery artificially enforces that the Terms you add to it are
in the same field ... you could easily write a PhraseQuery-ish query that
takes Terms from differnet fields, and ensures that they appear near
eachother in terms of their token
Yonik/Hoss -
OK, you lost me. It sounds as if this PhraseQuery-ish approach involves
breaking datetime and lat/long values into pieces, and evaluation occurs
with positioning. Is that accurate?
On 1/16/07, Yonik Seeley [EMAIL PROTECTED] wrote:
On 1/15/07, Chris Hostetter [EMAIL PROTECTED]
On Jan 16, 2007, at 10:05 PM, Peter McPeterson wrote:
Hi all, I'm trying this solr ruby DSL called Flare/solrb and I
don't really know how the faceted search works because I cant add
whatever fields I want to to the index. This is currently not working:
conn =
29 matches
Mail list logo