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
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]
Anyone having experience converting xml responses back to pojo's,
which technologies have you used?
Anyone doing json <-> pojo's?
Grtz
id's.
thanks in advance,
maarten
we get
> duplicate id's.
>
> thanks in advance,
> maarten
he.org
cc
Subject
Re: Bug ? unique id
Hi Maarten
Why not copy your unique id into another field with the required filters
and
use that for search?
Regards
Paul
On 3/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> because we want to be able to search our unique id
duplicate unique key *stored* values back
from the server (and kind of frustrating)
since we now use a copyfield to perform searches on the IDs, there is no
more reason to index our unique key field
what would happen if I set indexed=false on my unique id field ??
Maarten :-)
Chris
ok, i'm starting to see the light :))
at this moment, we are running this for our uniqueID :
field :
and everything is working well ...
so i dont explicitly say indexed='true' ... i guess indexed is default
true ...
i'll be sure do to do some testing with stored=false and indexed=false
but tha
the documents are only deleted when you do a commit ...
so you should never have an empty index (or at least not for more then a
couple of seconds)
note that you dont have to delete all documents you can just upload
new documents with the same UniqueID and Solr will delete the old
document
hey,
we had the same problem with the Solr Java Client ...
they forgot to put UTF-8 encoding on the stream ...
i posted our fix on http://issues.apache.org/jira/browse/SOLR-20
it's this post :
http://issues.apache.org/jira/browse/SOLR-20#action_12478810
Frederic Hennequin [07/Mar/07 08:27 AM]
we didnt use it, but i took a quick look :
you need to implement the "hl=on" attribute in the getquerystring() method
of the solrqueryImpl
the resultdocs allready contain highlighting, that's why you found
processHighlighting in the Resultparser
good luck !
m
"Thierry Collogne" <[EMAIL PRO
well, yes indeed :)
but i do think it is easier to put up synchronisation for deleted
documents as well
clearing the whole index is kind of overkill
when you do this :
* delete all documents
* submit all documents
* commit
you should also keep in mind that Solr will do an autocommit after a
ce
nice one !
"Thierry Collogne" <[EMAIL PROTECTED]>
22/03/2007 09:00
Please respond to
solr-user@lucene.apache.org
To
solr-user@lucene.apache.org
cc
Subject
Re: Problems with special characters
Thanks. I made some modifications to SolrQuery.java to allow highlighting.
I
will post the c
No, i didn't try to use it (on account of the fact that we dont use Solr
to display the results)
the only thing our Solr server returns are ID's ... so there is nothing to
put highlights on
but the code doesnt look half bad :)
lets hope the Client Developers pick up on it :)
"Thierry Collogn
> Why not create a multivalued field that stores the customer perms?
> add has_access:cust1 has_access:cust2, etc to the document at index
> time, and turn this into a filter query at query time?
that is what we are doing at the moment, and i must say, it works very and
does not slow the server d
what exactly is the problem ?
seems like you end up with the same term text in both query and index
analyzer ... you should have found a match...
Shridhar Venkatraman <[EMAIL PROTECTED]>
27/03/2007 14:08
Please respond to
solr-user@lucene.apache.org
To
solr-user@lucene.apache.org
cc
Subj
the only thing i can think of is the fact that in the index analysis the
term-type is "word"
and in the query analysis the term-type is "alphanumeric"
you should be getting a match if that doesnt matter ... you get exactly
the same term texts ...
Shridhar Venkatraman <[EMAIL PROTECTED]>
27
the
full 300.000 records and i am kind of afraid that with the second option
Solr will have to search more records/indexes to get the same result...
well, hope you understand my question and thanks in advance !
- Maarten
PS: thank you to everybody on this list for the help and thank you to all
o
Well, i think there will be a lot of people who will be very happy with
this C# client.
grts,m
"Jeff Rodenburg" <[EMAIL PROTECTED]>
31/03/2007 18:00
Please respond to
solr-user@lucene.apache.org
To
solr-user@lucene.apache.org
cc
Subject
C# API for Solr
We built our first search sys
i would use the first one, much more professional
"Yonik Seeley" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
06/04/2007 19:51
Please respond to
solr-user@lucene.apache.org
To
solr-user@lucene.apache.org
cc
Subject
Solr logo poll
Quick poll... Solr 2.1 release planning is underway,
le of handling leading wildcards ?
- is the latest version of solr capable of handling leading wildcards ?
- do we need to make adjustments to the solr source code ?
- if we need to adjust the solr source, what do we need to change ?
thanks in advance !
Maarten
release of Solr :
do not make this default, too many risks
but do make an option in the config to enable it, it's a very nice feature
thanks everybody for the help and have a nice weekend,
maarten
"Burkamp, Christian" <[EMAIL PROTECTED]>
19/04/2007 12:37
Please respond to
moment.
grts,m
"Michael Kimsal" <[EMAIL PROTECTED]>
20/04/2007 16:30
Please respond to
solr-user@lucene.apache.org
To
solr-user@lucene.apache.org
cc
Subject
Re: AW: Leading wildcards
Maarten:
Would you mind sharing your custom query parser?
On 4/20/07, [EMAIL PROTECTED] &
e solr source code ?
- if we need to adjust the solr source, what do we need to change ?
thanks in advance !
Maarten
i know this is a stupid question, but are there any collection
distribution scripts for windows available ?
thanks !
damn, there goes the platform independance ...
is there anybody with a lillte more experience when it comes to collection
distribution on Windows ?
tnx in advance !
"Bill Au" <[EMAIL PROTECTED]>
02/05/2007 15:09
Please respond to
solr-user@lucene.apache.org
To
solr-user@lucene.apache.org
26 matches
Mail list logo