Re: How do I secure solr server?

2008-02-21 Thread matt davies
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

Re: How do I secure solr server?

2008-02-21 Thread Thorsten Scherler
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 unauthorized

spellchecker and extendedResults

2008-02-21 Thread Suslik
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

Re: YAML update request handler

2008-02-21 Thread Noble Paul നോബിള്‍ नोब्ळ्
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

Re: Different Filters

2008-02-21 Thread Yonik Seeley
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

Re: Solr in Windows XP + JDK 5 + Tomcat 6.0.13

2008-02-21 Thread David Pratt
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

Companies Using Solr

2008-02-21 Thread Clay Webster
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

RE: Different Filters

2008-02-21 Thread Owens, Martin
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. Part

Re: Different Filters

2008-02-21 Thread Yonik Seeley
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=!val=$filter1fq=!val=$filter3) and have the various filters be a default defined in a handler in solrconfig.xml How does this work? I'm still confused from

Re: YAML update request handler

2008-02-21 Thread Walter Underwood
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

Re: Solr in Windows XP + JDK 5 + Tomcat 6.0.13

2008-02-21 Thread David Pratt
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

Re: YAML update request handler

2008-02-21 Thread Grant Ingersoll
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

RE: Different Filters

2008-02-21 Thread Owens, Martin
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 with

Re: Different Filters

2008-02-21 Thread Yonik Seeley
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 solrconfig.xml

Re: Different Filters

2008-02-21 Thread Yonik Seeley
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=!v=$filter1 Then add a default for the filter1 param in lucene query syntax

RE: Different Filters

2008-02-21 Thread Owens, Martin
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.

Re: wildcard query question

2008-02-21 Thread Chris Hostetter
: 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

Re: 2D Facet

2008-02-21 Thread Chris Hostetter
: 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=STATEf.STATE.facet.matrix=NAMEf.STATE.facet.matrix=INCOME : Or for example we can have may be like

Re: Wild card searching not working properly

2008-02-21 Thread Chris Hostetter
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

Re: How to search multiphrase or a middle term in a word???

2008-02-21 Thread Chris Hostetter
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 --

Re: Indexing very large files.

2008-02-21 Thread David Thibault
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

Re: custom handler results don't seem to match manually entered query string

2008-02-21 Thread Chris Hostetter
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

Re: Multi field queries

2008-02-21 Thread Chris Hostetter
: 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 the

Offsets in results?

2008-02-21 Thread Steve Suppe
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

Re: YAML update request handler

2008-02-21 Thread Noble Paul നോബിള്‍ नोब्ळ्
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