Filtering in Solr

2015-03-31 Thread Steven White
Hi folks, I need filtering capability just as described here for Lucene: http://www.javaranch.com/journal/2009/02/filtering-a-lucene-search.html Filtering is a mechanism of narrowing the search space, allowing only a subset of the documents to be considered as possible hits. They can be used to

What's the need for copyField when you have fq

2015-03-31 Thread Steven White
Hi folks, I'm new to Solr and I have a question about copyField/, q and fq. If I have 50 fields in a Solr doc and I index them without doing any copyField to a catch-all-field called all_text. During search I use fq to list all the 50 fields to search on. Now how different is this from not

How to find out which fields a search came from

2015-03-31 Thread Steven White
Hi folks, When I get my hits back from Solr, is there a way to find out into which fields my search term matched in? For example, if the indexed document is: doc_1: title = From Russia with Love director = Terence Young starting = Sean Connery, Redro Amendariz, Lotte Lenya,

Re: Differentiating user search term in Solr

2015-04-20 Thread Steven White
situation. But the general case just doesn't fit into the escape on the Solr side paradigm. Best, Erick On Mon, Apr 20, 2015 at 9:55 AM, Steven White swhite4...@gmail.com wrote: Hi Erick, I didn't know about ClientUtils.escapeQueryChars(), this is good to know. Unfortunately I cannot use

Re: Differentiating user search term in Solr

2015-04-20 Thread Steven White
Hi Hoss, Thanks for that lengthy feedback, it is much appreciated. Let me reset and bear in mind that I'm new to Solr. I'm using Solr 5.0 (will switch over to 5.1 later this week) and my need is as follows. In my application, a user types Apache Solr Notes. I take that text and send it over

Re: Multilevel nested level support using Solr

2015-04-20 Thread Steven White
Re sending to see if anyone can help. Thanks Steve On Fri, Apr 17, 2015 at 12:14 PM, Steven White swhite4...@gmail.com wrote: Hi folks, In my DB, my records are nested in a folder base hierarchy: Root Level_1 record_1 record_2 Level_2 record_3

Re: Remote connection to Solr

2015-04-24 Thread Steven White
to look into. Thanks Steve On Fri, Apr 24, 2015 at 10:11 AM, Shawn Heisey apa...@elyograg.org wrote: On 4/24/2015 8:03 AM, Steven White wrote: This maybe a Jetty question but let me start here first. I have Solr running on my laptop and from my desktop I have no issue accessing

Remote connection to Solr

2015-04-24 Thread Steven White
Hi Everyone, This maybe a Jetty question but let me start here first. I have Solr running on my laptop and from my desktop I have no issue accessing it. However, if I take my laptop home and connect it to my home network, the next day when I connect the laptop to my office network, I no longer

Re: Number of fields in schema.xml and impact on Solr

2015-04-22 Thread Steven White
Thanks Shawn. This is good to know. Steve On Wed, Apr 22, 2015 at 9:00 AM, Shawn Heisey elyog...@elyograg.org wrote: On 4/22/2015 6:33 AM, Steven White wrote: Is there anything I should be taking into consideration if I have a large number of fields in my Solr's schema.xml file? I

Number of fields in schema.xml and impact on Solr

2015-04-22 Thread Steven White
Hi Everyone Is there anything I should be taking into consideration if I have a large number of fields in my Solr's schema.xml file? I will be indexing records into Solr and as I create documents, each document will have between 20-200 fields. However, due to the natural of my data source, the

Complete list of field type that Solr supports

2015-04-22 Thread Steven White
Hi Everyone, I Googled for this with no luck. Where can I find a complete list of field type that Solr supports? In the sample scheam.xml that comes with Solr 5 and prior version, I am able to compile a list such as boolean, float, string, etc. but I cannot find a complete list documented

Re: Complete list of field type that Solr supports

2015-04-22 Thread Steven White
Hi Hoss, I'm confused. If type=float is just a symbolic name, how does Solr knows to index the data of field weight as float? What about for date per this example: field name=last_modified type=date indexed=true stored=true/ How does Solr applies date-range queries such as:

Re: Complete list of field type that Solr supports

2015-04-22 Thread Steven White
I got it now. I have to start from fieldType/ to create my field/ list. If I want a list of supported field-types (used in my schema.xml), I have to look at the class attribute of fieldType/ to get that list. The out-of-the-box list of field-types is documented in the link you provided:

Re: search by person name

2015-04-20 Thread Steven White
Why not just use q=name:(ana jose) ? Than missing words or words order won't matter. No? Steve On Mon, Apr 20, 2015 at 12:26 PM, Erick Erickson erickerick...@gmail.com wrote: First, a little patience on your part please, we're all volunteers here. Second, what have you done to try to

Re: Differentiating user search term in Solr

2015-04-20 Thread Steven White
list. Best, Erick On Mon, Apr 20, 2015 at 8:39 AM, Steven White swhite4...@gmail.com wrote: Hi Shawn, If the user types title:(Apache: Solr Notes) (without quotes) than I want Solr to treat the whole string as raw text string as if I escaped :, ( and ) and any other reserved Solr

Re: Differentiating user search term in Solr

2015-04-20 Thread Steven White
can pass to Solr as part of the URL. This parameter will tell Solr to do the escaping for me or not (missing means the same as don't do the escaping). Thanks Steve On Mon, Apr 20, 2015 at 10:05 AM, Shawn Heisey apa...@elyograg.org wrote: On 4/20/2015 7:41 AM, Steven White wrote: In my

Using SolrJ to access schema.xml

2015-04-24 Thread Steven White
Hi Everyone, Per this link https://cwiki.apache.org/confluence/display/solr/Schema+API#SchemaAPI-ListFieldTypes Solr supports REST Schema API to modify to the schema. I looked at http://lucene.apache.org/solr/4_2_1/solr-solrj/index.html?overview-summary.html in hope SolrJ has Java API to allow

Attributes in fieldType/ and field/

2015-04-28 Thread Steven White
Hi Everyone, Looking at the out-of-the box schema.xml of Solr 5.1, I see this: fieldType name=payloads stored=false indexed=true class=solr.TextField analyzer Is it valid to have stored and indexed on fieldType/? My understanding is that those are on field/ only. If not, is the

analyzer, indexAnalyzer and queryAnalyzer

2015-04-29 Thread Steven White
Hi Everyone, Looking at Solr's schema.xml, there are three kind of analyzers: analyzer, indexAnalyzer and queryAnalyzer. I have two questions about them: 1) If the content of indexAnalyzer and queryAnalyzer are exactly the same, that's the same as if I have an analyzer only, right? 2) Under

Field attribute default value

2015-04-27 Thread Steven White
Hi Everyone, I'm looking at https://cwiki.apache.org/confluence/display/solr/Defining+Fields and https://wiki.apache.org/solr/SchemaXml but cannot find an answer, so maybe it is someplace else? I need to know what is the default value for each field attribute (when that attribute is missing).

Re: analyzer, indexAnalyzer and queryAnalyzer

2015-05-04 Thread Steven White
, 2015 at 6:32 PM, Steven White swhite4...@gmail.com wrote: Hi Doug, I don't understand what you mean by the following: For example, if a user searches for q=hot dogsdefType=edismaxqf=title body the *query parser* *not* the *analyzer* first turns the query into: If I have

Re: analyzer, indexAnalyzer and queryAnalyzer

2015-04-29 Thread Steven White
:41 PM, Steven White swhite4...@gmail.com wrote: Hi Everyone, Looking at Solr's schema.xml, there are three kind of analyzers: analyzer, indexAnalyzer and queryAnalyzer. I have two questions about them: 1) If the content of indexAnalyzer and queryAnalyzer are exactly the same

Schema API: add-field-type

2015-04-29 Thread Steven White
Hi Everyone, When I pass the following: http://localhost:8983/solr/db/schema/fieldtypes?wt=xml I see this (as one example): lst str name=namedate/str str name=classsolr.TrieDateField/str str name=precisionStep0/str str name=positionIncrementGap0/str arr name=fields

Re: A defect in Schema API with Add a New Copy Field Rule?

2015-05-07 Thread Steven White
copyFields, and field types could have dependent (dynamic) fields. delete-* commands are designed to fail if there are any existing dependencies, while the replace-* commands will maintain the dependencies if they exist. Steve On May 6, 2015, at 6:44 PM, Steven White swhite4...@gmail.com wrote

A defect in Schema API with Add a New Copy Field Rule?

2015-05-06 Thread Steven White
Hi Everyone, I am using the Schema API to add a new copy field per: https://cwiki.apache.org/confluence/display/solr/Schema+API#SchemaAPI-AddaNewCopyFieldRule Unlike the other Add APIs, this one will not fail if you add an existing copy field object. In fact, after when I call the API over and

Re: How to handle special characters in fuzzy search query

2015-05-08 Thread Steven White
Hi Erick, Is there a documented list of all operators (AND, OR, NOT, etc.) that also need to be escaped? Are there more beside the 3 I listed? Thanks Steve On Fri, May 8, 2015 at 11:47 AM, Erick Erickson erickerick...@gmail.com wrote: Each of the characters you identified are characters

SolrJ vs. plain old HTTP post

2015-05-11 Thread Steven White
Hi Everyone, If all that I need to do is send data to Solr to add / delete a Solr document, which tool is better for the job: SolrJ or plain old HTTP post? In other word, what are the advantages of using SolrJ when the need is to push data to Solr for indexing? Thanks, Steve

Re: SolrJ vs. plain old HTTP post

2015-05-11 Thread Steven White
, and taking advantage of some routing optimizations client-side so the cluster has less hops to make. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com http://www.lucidworks.com/ On May 11, 2015, at 8:21 AM, Steven White swhite4...@gmail.com wrote: Hi Everyone

JARs needed to run SolrJ

2015-05-12 Thread Steven White
Hi Everyone, I am trying to use SolrJ to add docs to Solr. The following line: HttpSolrClient solrServer = new HttpSolrClient( http://localhost:8983/solr;); Is failing with exception: Exception in thread main java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory at

Re: SolrJ vs. plain old HTTP post

2015-05-12 Thread Steven White
Thanks Shalin and all for helping with this question. It is much appreciated. Steve On Tue, May 12, 2015 at 1:24 AM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Mon, May 11, 2015 at 8:20 PM, Steven White swhite4...@gmail.com wrote: Thanks Erik and Emir. snip/ To close

Is copyField a must?

2015-05-13 Thread Steven White
Hi Everyone, In my search need, I will always be using df to specify the list of fields a search will be done in (the list of fields is group based which my application defines). Given this, is there any reason to use copyField to copy the data into a single master-field to search against? Am I

Re: Cannot get uf (user fields) to work

2015-05-14 Thread Steven White
to explicitly state fields they want to search, you don't have to use uf parameter. So, drop uf, and set qf to F3. Thanks, Emir On 14.05.2015 14:09, Steven White wrote: Hi Emir, Are you saying I should remove qf if I want to use uf? I just tried that and got exception

Re: Cannot get uf (user fields) to work

2015-05-14 Thread Steven White
) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1984) at Thanks Steve On Thu, May 14, 2015 at 8:00 AM, Emir Arnautovic emir.arnauto...@sematext.com wrote: Hi Steve, You use qf to limit search on some fields. Thanks, Emir On 14.05.2015 13:49, Steven White wrote: Hi Everyone, I'm trying to utilize uf

Re: Cannot get uf (user fields) to work

2015-05-14 Thread Steven White
On Thu, May 14, 2015 at 7:49 AM, Steven White swhite4...@gmail.com wrote: Hi Everyone, I'm trying to utilize uf but it doesn't work. My reading of it per: https://cwiki.apache.org/confluence/display/solr/The+Extended+DisMax+Query+Parser is I can use it to limit into which fields

Re: Cannot get uf (user fields) to work

2015-05-14 Thread Steven White
Thanks Shawn and all for the insight. This was very helpful. Steve On Thu, May 14, 2015 at 10:19 AM, Shawn Heisey apa...@elyograg.org wrote: On 5/14/2015 6:33 AM, Steven White wrote: I don't follow. Can you give me an example on how and when to use uf? The uf parameter controls which

Re: Is copyField a must?

2015-05-14 Thread Steven White
PM, Steven White wrote: Note, I want to avoid a URL base solution (sending the list of fields over HTTP) because the list of fields could be large (1000+) and thus I will exceed GET limit quickly (does Solr support POST for searching, if so, than I can use URL base solution?) Solr does

Re: Is copyField a must?

2015-05-13 Thread Steven White
, Senior Solutions Architect http://www.lucidworks.com http://www.lucidworks.com/ On May 13, 2015, at 1:50 PM, Steven White swhite4...@gmail.com wrote: I don't have a need for Edismax. That said, do I still have a need for copyField into a default-field? Steve On Wed, May 13

Re: Is copyField a must?

2015-05-13 Thread Steven White
using qf with edismax ends doesn't parse the string the same way as the default defType? Steve On Wed, May 13, 2015 at 6:11 PM, Steven White swhite4...@gmail.com wrote: Thanks for the quick reply Shawn. I will dig into dismax and edismax and come back with questions if I cannot figure it out. I

Re: Is copyField a must?

2015-05-13 Thread Steven White
On Wed, May 13, 2015 at 5:58 PM, Shawn Heisey apa...@elyograg.org wrote: On 5/13/2015 3:36 PM, Steven White wrote: requestHandler name=/select_group_a class=solr.SearchHandler lst name=defaults str name=echoParamsexplicit/str int name=rows20/int str name=dfF2

Cannot get uf (user fields) to work

2015-05-14 Thread Steven White
Hi Everyone, I'm trying to utilize uf but it doesn't work. My reading of it per: https://cwiki.apache.org/confluence/display/solr/The+Extended+DisMax+Query+Parser is I can use it to limit into which fields a search is performed. E.g.: If my index has F1, F2, F3, F4, and I set uf to F3, than I

Re: Solr 5.0, Jetty and WAR

2015-05-18 Thread Steven White
into that container or is this not possible? Steve On Mon, May 18, 2015 at 9:28 AM, Shawn Heisey apa...@elyograg.org wrote: On 5/18/2015 6:42 AM, Steven White wrote: With regards to Solr 5.0+, can someone point me where I can find out more on: 1) Why WAR support is deprecated and is being

Solr 5.0, Jetty and WAR

2015-05-18 Thread Steven White
Hi Everyone, With regards to Solr 5.0+, can someone point me where I can find out more on: 1) Why WAR support is deprecated and is being dropped from Solr? and 2) How do I deploy Solr 5.1 in a servlet other than Jetty, such as WebSphere? Thanks Steve

Re: Is copyField a must?

2015-05-17 Thread Steven White
POST. As to format, I believe that's handled by the container. So if you're url-encoding the parameter values, you'll probably need to set Content-Type: application/x-www-form-urlencoded for the HTTP POST header. -Original Message- From: Steven White [mailto:swhite4...@gmail.com] Sent

Re: Solr 5.0, Jetty and WAR

2015-05-18 Thread Steven White
in a servlet container? Best, Erick On Mon, May 18, 2015 at 7:07 AM, Steven White swhite4...@gmail.com wrote: Thanks Shawn and Upayavira. What about the second part of my question? I guess I was not clear on it, so let me try again. Lets say I want to use Solr in a container other

Re: Is copyField a must?

2015-05-13 Thread Steven White
by adding fq=type:(PDF OR DOC OR TXT) Best, Erick On Wed, May 13, 2015 at 6:15 PM, Steven White swhite4...@gmail.com wrote: Looks like I got it working (however I still have an outstanding issue, see end of my email). Here is what I have done: 1) In my solrconfig.xml, I created

Re: Is copyField a must?

2015-05-13 Thread Steven White
of field boosting, it's much more precise to use the list of interesting fields than a big blob copy field. Cheers 2015-05-13 15:54 GMT+01:00 Steven White swhite4...@gmail.com: Hi Everyone, In my search need, I will always be using df to specify the list of fields a search will be done

How do you manage / update schema.xml file

2015-04-15 Thread Steven White
Hi folks, What is the best practice to manage and update Solr's schema.xml? I need to deploy Solr dynamically based on customer configuration (they will pick fields to be indexed or not, they will want to customize the analyzer (WordDelimiterFilterFactory, etc.) and specify the language to use.

Re: How do you manage / update schema.xml file

2015-04-15 Thread Steven White
work being done to update at least parts of solrconfig.xml, see: https://issues.apache.org/jira/browse/SOLR-6533 Best, Erick On Wed, Apr 15, 2015 at 11:46 AM, Steven White swhite4...@gmail.com wrote: Hi folks, What is the best practice to manage and update Solr's schema.xml? I need

Differentiating user search term in Solr

2015-04-15 Thread Steven White
Hi folks, If a user types in the search box (without quotes): {!q.op=AND df=text solr sys and I take that text and build the URL like so: http://localhost:8983/solr/db/select?q={!q.op=AND%20df=text%20solr%20sysfl=id%2Cscore%2Ctitlewt=xmlindent=true This will fail with Expected identifier

Re: Differentiating user search term in Solr

2015-04-16 Thread Steven White
...@elyograg.org wrote: On 4/16/2015 7:49 AM, Steven White wrote: defType didn't work: http://localhost:8983/solr/db/select?q={!q.op=AND%20df=text%20solr%20sysfl=id%2Cscore%2Ctitlewt=xmlindent=truedefType=lucene Gave me error: org.apache.solr.search.SyntaxError: Expected identifier

Re: Differentiating user search term in Solr

2015-04-16 Thread Steven White
). Thanks Steve On Thu, Apr 16, 2015 at 11:54 AM, Shawn Heisey apa...@elyograg.org wrote: On 4/16/2015 9:37 AM, Steven White wrote: What is term in the defType=term, do you mean the raw word term or something else? Because I tried that too in two different ways: Oops. I forgot that the term

Re: Differentiating user search term in Solr

2015-04-16 Thread Steven White
On Thu, Apr 16, 2015 at 12:18 PM, Shawn Heisey apa...@elyograg.org wrote: On 4/16/2015 10:10 AM, Steven White wrote: I don't follow what the f parameter is. Do you have a link where I can read more about it? I found this https://wiki.apache.org/solr/HighlightingParameters and https

Re: Differentiating user search term in Solr

2015-04-16 Thread Steven White
text as literal text. Doing so, means you remove the burden placed on clients to understand and escape reserved Solr / Lucene tokens. Steve On Wed, Apr 15, 2015 at 7:18 PM, Shawn Heisey apa...@elyograg.org wrote: On 4/15/2015 3:54 PM, Steven White wrote: Hi folks, If a user types

Re: Differentiating user search term in Solr

2015-04-16 Thread Steven White
? Steve On Thu, Apr 16, 2015 at 9:15 AM, Shawn Heisey apa...@elyograg.org wrote: On 4/16/2015 7:09 AM, Steven White wrote: I cannot use escapeQueryChars method because my app interacts with Solr via REST. The summary of your email is: client's must escape search string to prevent

Re: Solr 5.x deployment in production

2015-04-16 Thread Steven White
more alignment and focus on one experience. I did my own thing with NSSM because we use windows and I am satisfied. On 16 April 2015 at 21:36, Steven White swhite4...@gmail.com wrote: Hi folks, With Solr 5.0, the WAR file is deprecated and I see Jetty is included with Solr. What if I

Solr 5.x deployment in production

2015-04-16 Thread Steven White
Hi folks, With Solr 5.0, the WAR file is deprecated and I see Jetty is included with Solr. What if I have my own Web server into which I need to deploy Solr, how do I go about doing this correctly without messing things up and making sure Solr works? Or is this not recommended and Jetty is the

Re: Differentiating user search term in Solr

2015-04-16 Thread Steven White
Hi Hoss, Maybe I'm missing something, but I tried this and got 1 hit: http://localhost:8983/solr/db/select?q=title:(Apache%20Solr%20Notes)fl=id%2Cscore%2Ctitlewt=xmlindent=trueq.op=AND Than I tried this and got 0 hit:

Re: Solr 5.x deployment in production

2015-04-17 Thread Steven White
deployment. -- George On Fri, Apr 17, 2015 at 9:24 AM, Shawn Heisey apa...@elyograg.org wrote: On 4/16/2015 2:07 PM, Steven White wrote: In my case, I have to deploy Solr on Windows, AIX, and Linux (all server edition). We are a WebSphere shop, moving away from it means I have to deal

Multilevel nested level support using Solr

2015-04-17 Thread Steven White
Hi folks, In my DB, my records are nested in a folder base hierarchy: Root Level_1 record_1 record_2 Level_2 record_3 record_4 Level_3 record_5 Level_1 Level_2 Level_3 record_6

Taking Solr 5.0 to Production on Windows

2015-04-02 Thread Steven White
Hi folks, I'm reading Taking Solr 5.0 to Production https://cwiki.apache.org/confluence/display/solr/Taking+Solr+to+Production but I cannot find anything about Windows, is there some other link I'm missing? This section in the doc is an important part for a successful Solr deployment, but it is

When is too many fields in qf is too many?

2015-05-20 Thread Steven White
Hi everyone, My solution requires that users in group-A can only search against a set of fields-A and users in group-B can only search against a set of fields-B, etc. There can be several groups, as many as 100 even more. To meet this need, I build my search by passing in the list of fields via

Re: When is too many fields in qf is too many?

2015-05-20 Thread Steven White
number of different record types, each with a relatively small number of fields populated in a particular document? -- Jack Krupansky On Wed, May 20, 2015 at 8:27 AM, Steven White swhite4...@gmail.com wrote: Hi everyone, My solution requires that users in group-A can only search against

Re: When is too many fields in qf is too many?

2015-05-20 Thread Steven White
apa...@elyograg.org wrote: On 5/20/2015 6:27 AM, Steven White wrote: My solution requires that users in group-A can only search against a set of fields-A and users in group-B can only search against a set of fields-B, etc. There can be several groups, as many as 100 even more. To meet

Re: When is too many fields in qf is too many?

2015-05-20 Thread Steven White
unless explicitly stated otherwise, regardless of whether attachments are marked as such. On Wed, May 20, 2015 at 8:27 AM, Steven White swhite4...@gmail.com wrote: Hi everyone, My solution requires that users in group-A can only search against a set of fields-A and users in group-B can only

Re: When is too many fields in qf is too many?

2015-05-20 Thread Steven White
: On 5/20/2015 9:24 AM, Steven White wrote: I have already switched to using POST because I need to send a long list of data in qf. My question isn't about POST / GET, it's about Solr and Lucene having to deal with such long list of fields. Here is the text of my question reposted: Given

BoolField fieldType

2015-06-03 Thread Steven White
Hi everyone, This is a two part question: 1) I see the following: fieldType name=boolean class=solr.BoolField sortMissingLast=true/ a) what does sortMissingLast do? b) what kind of data is considered Boolean? TRUE, True, true, 1, yes,, Yes, FALSE, etc. 2) When searching, what do I search on:

Complete list of parameters in request handlers

2015-06-08 Thread Steven White
Hi, I'm managing my Solr solrconfig.xml data using https://cwiki.apache.org/confluence/display/solr/Config+API In doing so, I'm write code that will read and update request handlers. Beside the top level key / value parameters, I came across defaults, invariants and appends as list items. Are

Re: BoolField fieldType

2015-06-08 Thread Steven White
Thank you all for helping and updating the doc. As always, it is greatly appreciated. Steve On Thu, Jun 4, 2015 at 1:53 PM, Chris Hostetter hossman_luc...@fucit.org wrote: : What about at query time? If I index my Boolean and it has one of the : variations of t, T or 1, what should my

Re: BoolField fieldType

2015-06-04 Thread Steven White
on this field and the document doesn't have a value. Should the be sorted after or before docs that have a value for the field? Hmm, could use some better docs Erick On Wed, Jun 3, 2015 at 2:38 PM, Steven White swhite4...@gmail.com wrote: Hi everyone, This is a two part question: 1) I

Managed schema and schema.xml file

2015-06-18 Thread Steven White
Hi everyone, I just upgraded from 5.1.0 to 5.2.1 and noticed a behavior change which I consider a bug. In my solrconfig.xml, I have the following: !-- schemaFactory class=ClassicIndexSchemaFactory/ -- schemaFactory class=ManagedIndexSchemaFactory bool name=mutabletrue/bool str

Re: What's not a valid attribute data in Solr's schema.xml and solrconfig.xml

2015-06-12 Thread Steven White
...@elyograg.org wrote: On 6/12/2015 1:02 PM, Steven White wrote: You are right. If I use solr.SearchHandler it works, but if I use solr.admin.AdminHandlers like so: requestHandler name=987 class=solr.admin.AdminHandlers /requestHandler Solr reports this error: HTTP ERROR 500

Re: What's not a valid attribute data in Solr's schema.xml and solrconfig.xml

2015-06-12 Thread Steven White
Thanks Shawn. Steve On Fri, Jun 12, 2015 at 6:00 PM, Shawn Heisey apa...@elyograg.org wrote: On 6/12/2015 3:30 PM, Steven White wrote: Thank you Erik and Shawn for your support. I'm using Solr's Schema API and Config API to manage and administer a Solr deployment based on customer

Re: What's not a valid attribute data in Solr's schema.xml and solrconfig.xml

2015-06-12 Thread Steven White
(ServletHandler.java:1419) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455) Does this mean each request handler has its own level of error checking? Steve On Fri, Jun 12, 2015 at 2:43 PM, Shawn Heisey apa...@elyograg.org wrote: On 6/12/2015 12:24 PM, Steven White

What's not a valid attribute data in Solr's schema.xml and solrconfig.xml

2015-06-12 Thread Steven White
Hi, I'm trying to sort out what's not valid in Solr's files. For example, the following request-handler will cause Solr to fail to load (notice the missing / from 987 in the 'name'): requestHandler name=987 class=solr.SearchHandler /requestHandler But having a name with a space, such as /

Re: When is too many fields in qf is too many?

2015-05-28 Thread Steven White
On Thu, May 28, 2015 at 8:13 AM, Steven White swhite4...@gmail.com wrote: Hi Charles, That is what I have done. At the moment, I have 22 request handlers, some have 3490 field items in qf (that's the most and the qf line spans over 95,000 characters in solrconfig.xml file

Sorting in Solr

2015-06-01 Thread Steven White
Hi everyone, I need to be able to sot in Solr. Obviously, I need to do this in a way sorting won't cause OOM when a result may contain 1000's of hits if not millions. Can you guide me on how I can do this? Is there a way to tell Solr sort top N results (discarding everything else) or must such

Re: When is too many fields in qf is too many?

2015-05-28 Thread Steven White
), it would keep the qf list down to a manageable size (e.g. specified within the request handler XML). Not sure if this is feasible for you, but it seems like a reasonable approach given the use case you describe. Just a thought ... -Original Message- From: Steven White [mailto:swhite4

Re: Sorting in Solr

2015-06-02 Thread Steven White
apa...@elyograg.org wrote: On 6/1/2015 9:29 AM, Steven White wrote: I need to be able to sot in Solr. Obviously, I need to do this in a way sorting won't cause OOM when a result may contain 1000's of hits if not millions. Can you guide me on how I can do this? Is there a way to tell

Looking for doc on LimitTokenCountFilterFactory

2015-06-02 Thread Steven White
Hi everyone I cannot find much useful info on LimitTokenCountFilterFactory other than the format and the attributes it takes per this link: http://lucene.apache.org/core/4_3_0/analyzers-common/org/apache/lucene/analysis/miscellaneous/LimitTokenCountFilterFactory.html. It is also not mentioned at

Re: optimize status

2015-06-29 Thread Steven White
Hi Upayavira, This is news to me that we should not optimize and index. What about disk space saving, isn't optimization to reclaim disk space or is Solr somehow does that? Where can I read more about this? I'm on Solr 5.1.0 (may switch to 5.2.1) Thanks Steve On Mon, Jun 29, 2015 at 4:16

Re: optimize status

2015-06-29 Thread Steven White
Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) On Jun 29, 2015, at 5:15 AM, Steven White swhite4...@gmail.com wrote: Hi Upayavira, This is news to me that we should not optimize and index. What about disk space saving, isn't optimization to reclaim

Re: solr 5.x on glassfish/tomcat instead of jetty

2015-05-21 Thread Steven White
Hi TK, Can you share the thread you found on this WAR topic? Thanks, Steve On Wed, May 20, 2015 at 8:58 PM, TK Solr tksol...@sonic.net wrote: Never mind. I found that thread. Sorry for the noise. On 5/20/15, 5:56 PM, TK Solr wrote: On 5/20/15, 8:21 AM, Shawn Heisey wrote: As of right

Re: When is too many fields in qf is too many?

2015-05-26 Thread Steven White
with you :) Might be fun to think through your prob together. -Doug On Tue, May 26, 2015 at 1:42 PM, Steven White swhite4...@gmail.com wrote: Hi Doug, I'm back to this topic. Unfortunately, due to my DB structer, and business need, I will not be able to search against a single field

Re: When is too many fields in qf is too many?

2015-05-26 Thread Steven White
. You'll still have cases where one field's score might just happen to be far off of another, and thus dominating the summation. But something easy to try if you want to keep playing with dismax. -Doug On Wed, May 20, 2015 at 2:56 PM, Steven White swhite4...@gmail.com wrote: Hi Doug

Jetty in Solr 5.2.0

2015-07-07 Thread Steven White
Hi Everyone, This may be a question to be posted on Jetty mailing list, but I figured I should start here first. Using Solr 5.2.0, when I start Solr, http://localhost:8983/solr/ is the entry point. My question is: 1) Where is solr on the file system? 2) How can I add

Re: Jetty in Solr 5.2.0

2015-07-07 Thread Steven White
will be used in a lightweight so there is plenty of CPU / RAM on this one server to host Solr and my crawler. Steve On Tue, Jul 7, 2015 at 12:31 PM, Upayavira u...@odoko.co.uk wrote: On Tue, Jul 7, 2015, at 05:03 PM, Steven White wrote: Hi Everyone, This may be a question to be posted on Jetty

Solr relevancy score order

2015-08-24 Thread Steven White
Hi Everyone, When I search for a term in Solr, and it happens that 10 doc end up with the same score, what's the order of doc ranking in the set of those 10 equally scored doc and what is it based on? Is there a link I can read more about this? Thanks, Steve

Re: Solr relevancy score order

2015-08-24 Thread Steven White
those values with [docid] - DocIdAugmenterFactory. If you want 100% stable sorting, use a second sorting criterion. e.g. sort = score desc, some_field asc Ahmet On Monday, August 24, 2015 4:56 PM, Steven White swhite4...@gmail.com wrote: Hi Everyone, When I search for a term in Solr

Re: Solr relevancy score order

2015-08-24 Thread Steven White
, updates etc). You can see those values with [docid] - DocIdAugmenterFactory. If you want 100% stable sorting, use a second sorting criterion. e.g. sort = score desc, some_field asc Ahmet On Monday, August 24, 2015 4:56 PM, Steven White swhite4...@gmail.com wrote: Hi Everyone, When I

Re: Solr relevancy score order

2015-08-24 Thread Steven White
Thanks Hoss. I understand the dynamic nature of doc-IDs. All that I care about is the most recent docs be at the top of the hit list when there is a tie. From your reply, it is not clear if that's what happens. If not, then I have to sort, but this is something I want to avoid so it won't add

Re: User Authentication

2015-08-24 Thread Steven White
Hi Noble, Is everything in the link you provided applicable to Solr 5.2.1? Thanks Steve On Mon, Aug 24, 2015 at 2:20 PM, Noble Paul noble.p...@gmail.com wrote: did you manage to look at the reference guide? https://cwiki.apache.org/confluence/display/solr/Securing+Solr On Mon, Aug 24,

Documentation for: solr.EnglishPossessiveFilterFactory

2015-08-03 Thread Steven White
Hi Everyone, Does anyone knows where I can find docs on filter class=solr.EnglishPossessiveFilterFactory/? The only one I found is the API doc: http://lucene.apache.org/core/4_9_0/analyzers-common/org/apache/lucene/analysis/en/EnglishPossessiveFilterFactory.html but that's not what I'm looking

Re: HTTP Error 500 on /admin/ping request

2015-08-03 Thread Steven White
3, 2015 at 2:16 PM, Steven White swhite4...@gmail.com wrote: Yes, my application is in Java, no I cannot switch to SolrJ because I'm working off legacy code for which I don't have the luxury to refactor.. If my application is sending the wrong Content-Type HTTP header, which part is it and why

HTTP Error 500 on /admin/ping request

2015-08-03 Thread Steven White
Hi Everyone, I cannot figure out why I'm getting HTTP Error 500 off the following code: // Using: org.apache.wink.client String contentType = application/atom+xml; URI uri = new URI(http://localhost:8983; + /solr/db/admin/ping?wt=xml); Resource resource =

Re: HTTP Error 500 on /admin/ping request

2015-08-03 Thread Steven White
such as: /solr/db/config/requestHandler?wt=xml or /solr/db/schema/fieldtypes/?wt=xml or /solr/db/schema/fields/?wt=xml ? Steve On Mon, Aug 3, 2015 at 2:10 PM, Shawn Heisey apa...@elyograg.org wrote: On 8/3/2015 11:34 AM, Steven White wrote: Hi Everyone, I cannot figure out why I'm getting HTTP Error

Re: Documentation for: solr.EnglishPossessiveFilterFactory

2015-08-04 Thread Steven White
/EnglishPossessiveFilter.java#L66 It just looks for a couple of versions of apostrophe followed by s or S. Regards, Alex. Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-start.com/ On 3 August 2015 at 17:56, Steven White swhite4...@gmail.com wrote: Hi

Supported languages

2015-08-04 Thread Steven White
Hi Everyone, I see Solr comes pre-configured with text analyzers for a list of supported languages e.g.: text_ar, text_bq, text_ca, text_cjk, text_ckb, text_cz, etc. My questions are: 1) How well optimized are those languages for general usage? This is something I need help with because other

Re: Basic Auth (again)

2015-07-23 Thread Steven White
-constraint /security-constraint Your realm.properties should then have user account entries for the role similar to: admin: some-cred, default-role Hope this helps, Peter On Thu, Jul 23, 2015 at 7:41 PM, Steven White swhite4...@gmail.com wrote: (re-posting as new email thread

Re: Issues sending mail to the list

2015-07-23 Thread Steven White
...@odoko.co.uk wrote: Be sure to be sending plain text emails, not HTML, and watch out for things that could be considered spam. Apache mail servers do receive a LOT of spam, so need to have relatively aggressive spam filters in place. Upayavira On Thu, Jul 23, 2015, at 07:29 PM, Steven White wrote

Re: Basic auth

2015-07-22 Thread Steven White
some significant refactoring of SearchHandler since then, but the concept works well for distributed queries. Thanks, Peter On Wed, Jul 22, 2015 at 11:18 AM, O. Klein kl...@octoweb.nl wrote: Steven White wrote Thanks for updating the wiki page. However, my issue remains, I

  1   2   3   >