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 wit
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 lo
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
On 1/16/07, Thorsten Scherler <[EMAIL PROTECTED]> wrote:
...Have a look at
https://issues.apache.org/jira/browse/SOLR-86...
Right, I should have mentioned this one as well. I have linked SOLR-20
and SOLR-86 now, so that people can see the various options for Java
clients.
-Bertrand
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 to close start
tag from line 1, paser stopped on START_TAG seen ..."
It work well and i check index data, and search.
i wanna know why it happen and how to fix it.
anyone with s
Hi,
You need to send rather than (closing the tag)
HTH
Steph
thank u.
2007/1/16, Stephanie Belton <[EMAIL PROTECTED]>:
Hi,
You need to send rather than (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
http
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 mu
Hi Jorg,
On 1/16/07, Jörg Pfründer <[EMAIL PROTECTED]> wrote:
...is there anyone who has experience on internationalization
(internationalisation) with SOLR?...
I've been setting up a french language index in the last months, and
it works very well.
There are some pointers on how to analyz
Anyone having experience converting xml responses back to pojo's,
which technologies have you used?
We started off using a regular DOM parser and coding it by hand, but
have switched to XStream. This (with some help handling the Solr <->
pojo mappings) seems to work fine once you get past a fe
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 Thors
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:
stored="true" multiValued="true"/>
stored="true" multiValued="true"/>
stored="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 examp
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 thi
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 page
[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 block that embeds the
solr results. A fu
Hi Jeff, Bertrand
THanks for your help,
The analyzers I am using are the same as in the example schema.xml
Author field:
analysis result:
http://nickjenkin.com/misc/solr.jpg
It appears to be matching author:"Shelley Ohara" but when I do this
search no results are returned, searches like author:
On 1/16/07, Nick Jenkin <[EMAIL PROTECTED]> wrote:
Hi Jeff, Bertrand
THanks for your help,
The analyzers I am using are the same as in the example schema.xml
Author field:
analysis result:
http://nickjenkin.com/misc/solr.jpg
It appears to be matching author:"Shelley Ohara" but when I do this
s
On 1/16/07, Mike Klaas <[EMAIL PROTECTED]> wrote:
> It appears to be matching author:"Shelley Ohara" but when I do this
> search no results are returned, searches like author:"Shelley O hara",
> author:"Shelley O'hara" work as expected. Any ideas?
This problem is why some sloppiness is recommen
: 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 "textTig
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
: WordDelimit
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
On Tue, 2007-01-16 at 13:56 +0100, Bertrand Delacretaz wrote:
> On 1/16/07, Thorsten Scherler <[EMAIL PROTECTED]> wrote:
>
> > ...Have a look at
> > https://issues.apache.org/jira/browse/SOLR-86...
>
> Right, I should have mentioned this one as well. I have linked SOLR-20
> and SOLR-86 now, so th
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 whe
: 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 spa
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 = Solr::Connection.new('http://localhost:8983/solr')
doc = {:id => 1, :cat => 'eletronics'
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 to
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 PROTECTE
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 = Solr::Connection.new('http://l
38 matches
Mail list logo