For the case where we use Solrj (we control both ends) It is best to resort
to a custom binary format. It works fastest and with least cost /bandwidth .
We can use a custom object serialization/deserialization mechanism (java
standard serialization is verbose ) which is lightweight .
I can create
Hi all,
I apologize if this question has been asked, but I've been unable to find
the answer in the archives.
Is there a way to get the offsets for results from a search in JSON format,
or even from SOLR in general (regardless of format, XML even)? As in, I
have fields set that I am searchi
Hmmm... everything seems right here.
This may be a silly question, but
you are calling rsp.add("response", docs_main.docList) in your custom
handler correct?
second question: how are you building up your query obejct? the only
thing i can think of is that you are constructing the TermQueri
All,
A while back I was running into an issue with a Java heap out of memory
error while indexing large files. I figured out that was my own error due
to a misconfiguration of my Netbeans memory settings.
However, now that is fixed and I have stumbled upon a new error. When
trying to upload file
: Documents in my solr index has three fields, name, content and summary.
: Suppose the user query be, "java sky democratic". I want the resulting
: documents to have all the terms in the query ( "java sky democratic") in
: either name, content or the summary (for example i.e., java and sky is in
your "master" examples work part of the time because of the
WordDelimiterField can tell at indextime that the capital M in the middle
of the word is a good place to split on.
without hints like that at index time, the only way to do "middle of the
word" searches is with wildcard type queries -
Problems like this depend heavily on example what the fieldtype and
"index" analyzer is for the field you are querying on. it's important to
keep in mind that wildcard and fuzzy queries are not "analyzed" so things
like lowercasing and stemming have to be taken into account -- typically
it's
: say I have a parameter facet.field=STATE. For example we'll take 3D
: faceting, so I'll need 2 more facet fields related to the first one.
: Should we do something like this:
: facet.field=STATE&f.STATE.facet.matrix=NAME&f.STATE.facet.matrix=INCOME
: Or for example we can have may be like thi
: the record is found. I was wondering how the colon character affects
: the search, and if there is another way to write a wildcard query.
most likely the issue is that your analyzer is striping out the colon
character, hence your normal phrase search works (because the colon is
striped out
OK, talk of different fields threw me.
To enable a client to turn on/off a specific filter without knowing
what that filter is,
add the following parameter to the query string when you want to turn
the filter on:
fq=
Then add a default for the filter1 param in lucene query syntax (like
+cat:elect
> What field??? or what filter?
> I'm not really sure I still understand what you are trying to accomplish.
> Perhaps if you have some explicit examples of what types of things
> clients would send in as query parameters to Solr, and what types of
> lucene queries you actually want to be generated
On Thu, Feb 21, 2008 at 2:17 PM, Owens, Martin
<[EMAIL PROTECTED]> wrote:
> > Now put filter1 as a default in your handler (same as any other
> > default), and the client can turn on and off filter1 without knowing
> > what exactly it is.
>
> OK so I have to add a new search hander into solrcon
>> This feature was first committed 10/22/07
Great! should be there then.
> Now put filter1 as a default in your handler (same as any other
> default), and the client can turn on and off filter1 without knowing
> what exactly it is.
OK so I have to add a new search hander into solrconfig.xml w
Hi Alejandro. Your summary is good and it should be of benefit to
others. Thank you for taking the time to prepare it.
Regards,
David
Alejandro Valdez wrote:
Hello, yes of course.
I followed the instructions from
http://wiki.apache.org/solr/SolrTomcat (see below)
but instead of copy the examp
Hello, yes of course.
I followed the instructions from
http://wiki.apache.org/solr/SolrTomcat (see below)
but instead of copy the example configuration files into the directory
c:\web\solr\ as
is explained in that page, I did it into c:\tomcat\webapps\solr and
started Tomcat with:
-Dsolr.solr.home
Python marshal format is worth a try. It is binary and can represent
the same data as JSON. It should be a good fit to Solr.
We benchmarked that against XML several years ago and it was 2X faster.
Of course, XML parsers are a lot faster now.
wunder
On 2/21/08 10:50 AM, "Grant Ingersoll" <[EMAIL
On Thu, Feb 21, 2008 at 1:49 PM, Owens, Martin
<[EMAIL PROTECTED]> wrote:
> > So you could add something like this to your query
> > fq=&fq= > and have the various filters be a default defined in a handler in
> solrconfig.xml
>
> How does this work? I'm still confused from your explanation. Ar
> Can the client send in which filters should be turned on and off, but
> leave the definition of the filters in solrconfig.xml?
The client must set the property, how solr deals with that is how I want it to
work.
> If so, you can get this effect with the new query parser plugin
> framework. P
XML can be a problem when it is really lengthy (lots of results, large
results) such that a binary format could be useful in certain cases
where we control both ends of the pipe (i.e. SolrJ.) I've seen apps
that deal with really large files wrapped in XML where the XML parsing
takes a sign
Hi Alejandro. Since this was a bit of trouble for you could you post the
steps you used to get it to work (and/or any deviation from the wiki) to
summarize this thread. It has been some days that I have seen the thread
on the list and it would leave something useful other than I got it
running
On Thu, Feb 21, 2008 at 1:20 PM, Owens, Martin
<[EMAIL PROTECTED]> wrote:
> We have a requirement for being able to switch on and off certain filters
> for different searches.
Can the client send in which filters should be turned on and off, but
leave the definition of the filters in solrconfig.
Hey Folks,
Reminder: http://wiki.apache.org/solr/PublicServers lists the sites using
Solr. The listing is a bit thin. I know many people don't know about the
list or don't have the time to add themselves to the list. I'd like to be
able to promote open sourcing more systems (like Solr) and this
Hello all,
We have a requirement for being able to switch on and off certain filters for
different searches.
The problem is that these filters are defined in the schema, per field; we only
have one field with text so I was wondering if there was a way of setting the
filters in the solrconfig.x
Thanks a lot, it's running right now.
It seems that solr.solr.home should not point into the webapps
directory, maybe this tip should be included in the installation
guide...
Thanks again.
On Wed, Feb 20, 2008 at 10:50 PM, Yonik Seeley <[EMAIL PROTECTED]> wrote:
> On Wed, Feb 20, 2008 at 5:32 P
hi,
The format over the wire is not of great significance because it gets
unmarshalled into the corresponding language object as soon as it comes out
of the wire. I would say XML/JSON should meet 99% of the requirements
because all the platforms come with an unmarshaller for both of these.
But,If
Hi, I'am using spellchecker from solr nightly build (2008-02-20) and it does
show extended results when i put option extendedResults. What may be the
reason? Also it does sort matches in different order depending on
suggestionCount parameter. Is it normal that sort order differs when I
change sugg
On Thu, 2008-02-21 at 01:46 -0500, Mel Brand wrote:
> Hi guys,
>
> I run solr on a separate server from the application server and I'd
> like to know how to protect it.
best with a firewall.
> I'd like to know how to prevent
> someone from communicating to the server and also prevent unauthoriz
Hi Mel
One method is to limit the access to the web backend by only having it
respond to 127.0.0.1.
I'm not certain here but i think do that you need to add the limiting
access code in your servlet, which may be different.
For instance, we edited jetty.xml in our situation.
I hope this i
28 matches
Mail list logo