Solr suggest, auto complete & spellcheck

2016-01-04 Thread Steven White
Hi, I'm trying to understand what are the differences between Solr suggest, auto complete & spellcheck? Isn't each a function of the UI? If not, can you provide me with links that show end-to-end example setting up Solr to get all of the 3 features? I'm on Solr 5.2. Thanks Steve

Using "join" with 2+ cores

2016-01-19 Thread Steven White
Hi evryone, Does Solr's join support 2+ cores? Is there an example? Is there performance impact when I have 5 to 10 cores vs. single core (all my data in 1 core)? Is relevancy score impacted with multiple cores vs. single core? Thanks Steve

Faceting and multiValued field type

2016-01-19 Thread Steven White
Hi everyone, Can I use facet on a field type of multiValued? If so, how does facet work with field type of "date" set as multiValued? Thanks Steve

Re: Faceting and multiValued field type

2016-01-19 Thread Steven White
eld, say 1/1/2015 and 1/1/2016, > that doc will be counted in each bucket. > > Best, > Erick > > On Tue, Jan 19, 2016 at 8:48 AM, Steven White > wrote: > > Hi everyone, > > > > Can I use facet on a field type of multiValued? If so, how does facet > work > > with field type of "date" set as multiValued? > > > > Thanks > > > > Steve >

Re: Using "join" with 2+ cores

2016-01-19 Thread Steven White
ween joining in the single core and > join across two ones, but I'm not sure what do you mean in 5 to 10 cores. > > On Tue, Jan 19, 2016 at 8:43 AM, Steven White > wrote: > > > Hi evryone, > > > > Does Solr's join support 2+ cores? Is there an example?

Memory leak defect or misssuse of SolrJ API?

2016-01-30 Thread Steven White
Hi folks, I'm getting memory leak in my code. I narrowed the code to the following minimal to cause the leak. while (true) { HttpSolrClient client = new HttpSolrClient(" http://192.168.202.129:8983/solr/core1";); client.close(); } Is this a defect or an issue in the way

Re: Memory leak defect or misssuse of SolrJ API?

2016-01-31 Thread Steven White
t;> Can you please elaborate what error you are getting and i didn't > understand > >> your code above, that why initiating Solr client object is in loop. In > >> general creating client instance should be outside the loop and a one > time > >> activity d

Re: Memory leak defect or misssuse of SolrJ API?

2016-01-31 Thread Steven White
; Walter Underwood > wun...@wunderwood.org > http://observer.wunderwood.org/ (my blog) > > > > On Jan 31, 2016, at 2:10 PM, Steven White wrote: > > > > Thank you all for your feedback. > > > > This is code that I inherited and the example i gave is intended to >

Using Tika that comes with Solr 5.2

2016-02-02 Thread Steven White
Hi, I'm trying to use Tika that comes with Solr 5.2. The following code is not working: public static void parseWithTika() throws Exception { File file = new File("C:\\temp\\test.pdf"); FileInputStream in = new FileInputStream(file); AutoDetectParser parser = new AutoDetectParser();

Re: Using Tika that comes with Solr 5.2

2016-02-02 Thread Steven White
, but do not use the app in the same JVM as Solr...without a > custom class loader. The Solr team carefully prunes the dependencies when > integrating Tika and makes sure that the main parsers _just work_. > > > -Original Message- > From: Steven White [mailto:swhite4...@gma

Re: Using Tika that comes with Solr 5.2

2016-02-02 Thread Steven White
I found my issue. I need to include JARs off: \solr\contrib\extraction\lib\ Steve On Tue, Feb 2, 2016 at 4:24 PM, Steven White wrote: > I'm not using solr-app.jar. I need to stick with Tika JARs that come with > Solr 5.2 and yet get the full text extraction feature of Tika (all f

List of file types supported by ExtractingRequestHandler

2016-02-05 Thread Steven White
Hi everyone, Is there a publish list of Tika extractors and the file types supported that comes with Solr 5.2? For example, I noticed that the ASM JAR ( http://asm.ow2.org/) is not included with Solr. I can examine the JARs under /solr/contrib/extraction/lib/ and try to come up with the list, bu

How is Tika used with Solr

2016-02-09 Thread Steven White
Hi folks, I'm writing a file-system-crawler that will index files. The file system is going to be very busy an I anticipate on average 10 new updates per min. My application checks for new or updated files once every 1 min. I use Tika to extract the raw-text off those files and send them over t

Re: How is Tika used with Solr

2016-02-09 Thread Steven White
run Tika > > separately and only send Solr the processed documents. > > > > Regards, > > Alex. > > > > Newsletter and resources for Solr beginners and intermediates: > > http://www.solr-start.com/ > > > > > > On 10 February 2016 at 09:46, St

Re: Knowing which doc failed to get added in solr during bulk addition in Solr 5.2

2016-02-11 Thread Steven White
For my application, the solution I implemented is I log the chunk that failed into a file. This file is than post processed one record at a time. The ones that fail, are reported to the admin and never looked at again until the admin takes action. This is not the most efficient solution right no

Re: How is Tika used with Solr

2016-02-11 Thread Steven White
- > > > From: Erick Erickson [mailto:erickerick...@gmail.com] > > > Sent: Tuesday, February 09, 2016 10:05 PM > > > To: solr-user > > > Subject: Re: How is Tika used with Solr > > > > > > My impulse would be to _not_ run Tika in it

un-Boosting some Docs at index time

2016-02-12 Thread Steven White
Hi everyone, I'm trying to figure out if this is possible, if so how do I do it. I'm indexing records from my database. The Solr doc has 2 basic fields: the ID and the Data field. I lump the data of each field from the record into Solr's Data field. At search time, I search on this single fiel

Re: un-Boosting some Docs at index time

2016-02-12 Thread Steven White
start: > > https://lucidworks.com/blog/2011/12/14/options-to-tune-documents-relevance-in-solr/ > > Does that work? > > Best, > Erick > > On Fri, Feb 12, 2016 at 8:30 AM, Steven White > wrote: > > Hi everyone, > > > > I'm trying to figure out if

Why is my index size going up (or: why it was smaller)?

2016-02-15 Thread Steven White
Hi folks, I'm fixing code that I noticed to have a defect. My expectation was that once I make the fix, the index size will be smaller but instead I see it growing. Here is the stripped down version of the code to show the issue: Buggy code #1: for (String field : fieldsList) { doc.add

Re: Why is my index size going up (or: why it was smaller)?

2016-02-15 Thread Steven White
I bet one will be > 2x the other. > > Upayavira > > On Mon, Feb 15, 2016, at 08:12 PM, Steven White wrote: > > Hi folks, > > > > I'm fixing code that I noticed to have a defect. My expectation was that > > once I make the fix, the index size will be sma

Re: Why is my index size going up (or: why it was smaller)?

2016-02-16 Thread Steven White
I found the issue: as soon as I restart Solr, the index size goes down. My index and data size must have been at a border line where some segments are not released on my last document commit. Steve On Mon, Feb 15, 2016 at 11:09 PM, Shawn Heisey wrote: > On 2/15/2016 1:12 PM, Steven Wh

Re: Why is my index size going up (or: why it was smaller)?

2016-02-16 Thread Steven White
the trick. Each document I'm adding is unique so there is no deletion involved here at all. I'm testing this on Windows, so that maybe a factor too (the OS is not releasing file handles?!) Steve On Tue, Feb 16, 2016 at 11:57 AM, Shawn Heisey wrote: > On 2/16/2016 9:37 AM, St

Solr 6.0

2016-02-25 Thread Steven White
Hi, Where can I learn more about the upcoming Solr 6.0? I understand the release date cannot be know, but I hope the features and how it difference from 5.x is known. Thank you Steve

Question about Solr logs

2016-03-04 Thread Steven White
HI folks, I am analyzing a performance issue with Solr during indexing. My simplefiled psedue code looks like so while (more-items) { for (int i = 0; i < 100; i++) { docs.add(doc); } UpdateResponse resp = solrConn.add(docs, 1); // <== yes, using "1" is bad

Re: Question about Solr logs

2016-03-05 Thread Steven White
right? Steve On Sat, Mar 5, 2016 at 1:33 AM, Shawn Heisey wrote: > On 3/4/2016 10:21 PM, Steven White wrote: > > org.apache.solr.update.processor.LogUpdateProcessor; [test] > > webapp=/solr path=/update params={wt=xml&version=2.2} {add=[5539783 > > (1527883353280217088)

Warning and Error messages in Solr's log

2016-03-07 Thread Steven White
Hi folks, In Solr's solr-8983-console.log I see the following (about 50 in a span of 24 hours when index is on going): WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. What does it mean? Should I wary about it? What about this one: 118

Re: Warning and Error messages in Solr's log

2016-03-08 Thread Steven White
Re-posting. Anyone has any idea about this question? Thanks. Steve On Mon, Mar 7, 2016 at 5:15 PM, Steven White wrote: > Hi folks, > > In Solr's solr-8983-console.log I see the following (about 50 in a span of > 24 hours when index is on going): > > WARNING: Co

Timeout error during commit

2016-03-09 Thread Steven White
Hi folks, I'm indexing about 1 billion records (each are small Solr doc, no more than 20 bytes each). The logic is basically as follows: while (data-of-1-billion) { read-1000-items from DB at-100-items send 100 items to Solr: i.e.: solrConnection.add(docs); } solrConn

Re: Timeout error during commit

2016-03-10 Thread Steven White
9, 2016 at 8:32 PM, Shawn Heisey wrote: > On 3/9/2016 6:10 PM, Steven White wrote: > > I'm indexing about 1 billion records (each are small Solr doc, no more > than > > 20 bytes each). The logic is basically as follows: > > > > while (data-of-1-b

Re: Timeout error during commit

2016-03-10 Thread Steven White
Got it. Last question on this topic (maybe), wouldn't a commit at the very end take too long on a 1 billion items? Wouldn't a commit every, lets say 10,000 items be more efficient? Steve On Thu, Mar 10, 2016 at 5:44 PM, Shawn Heisey wrote: > On 3/10/2016 3:29 PM, Steve

What is considered too many terms on a field search?

2016-03-12 Thread Steven White
Hi folks I need to search for terms in a field that will be AND'ed with user's real search terms, such as: user-real-search-terms AND FooField:(a OR b OR c OR d OR e OR ...) The list of terms in the field FooField can be as large as 1000 items, but will average around 100. The list of OR'ed

Re: What is considered too many terms on a field search?

2016-03-12 Thread Steven White
Yonik Seeley wrote: > On Sat, Mar 12, 2016 at 11:00 AM, Steven White > wrote: > > Hi folks > > > > I need to search for terms in a field that will be AND'ed with user's > real > > search terms, such as: > > > > user-real-search-terms AND

Sort order for *:* query

2016-04-04 Thread Steven White
Hi everyone, When I send Solr the query *:* the result I get back is sorted based on Lucene's internal DocID which is oldest to most recent (can someone correct me if I get this wrong?) Given this, the most recently added / updated document is at the bottom of the list. Is there a way to reverse

Re: Sort order for *:* query

2016-04-05 Thread Steven White
This is all good stuff. Thank you all for your insight. Steve On Mon, Apr 4, 2016 at 6:15 PM, Yonik Seeley wrote: > On Mon, Apr 4, 2016 at 6:06 PM, Chris Hostetter > wrote: > > : > > : Not sure I understand... _version_ is time based and hence will give > > : roughly the same accuracy as some

Indexing date data for facet search

2016-04-11 Thread Steven White
Hi everyone, I need to index data data into Solr and then use this field for facet search. My question is this, the date data in my DB is stored in the following format "2016-03-29 15:54:35.461": 1) What format I should be indexing this date + time stamp into Solr? 2) What Solr field type I shou

Re: Indexing date data for facet search

2016-04-12 Thread Steven White
d be more time and > space efficient. Here's some background: > > https://lucidworks.com/blog/2016/02/13/solrs-daterangefield-perform/ > > Date types should be indexed as fully specified strings, as > > -MM-DDThh:mm:ssZ > > Best, > Erick > > On Mon, Apr 11, 2

solr.StrField or solr.StringField?

2016-05-03 Thread Steven White
Hi Everyone, Is solr.StrField and solr.StringField the same thing? Thanks in advanced! Steve

Re: solr.StrField or solr.StringField?

2016-05-03 Thread Steven White
ell you what that one does. > > If you look for solr.StrField in the schema.xml file, you'll get some idea > of how it's defined. The default setting is for it not to be analyzed. > > On Tue, May 3, 2016 at 10:16 AM, Steven White > wrote: > > > Hi Everyon

Re: Basic auth

2015-07-20 Thread Steven White
Hi Everyone, I don't mean to hijack this thread, but I have auth issues that maybe related to this topic. I'm on 5.2.1 and trying to setup basic auth using jetty realm per https://wiki.apache.org/solr/SolrSecurity#Jetty_realm_example And I found other examples on the web which are very similar t

Re: Basic auth

2015-07-20 Thread Steven White
Thanks for updating the wiki page. However, my issue remains, I cannot get Basic auth working. Has anyone got it working, on Windows? Steve On Mon, Jul 20, 2015 at 9:09 AM, Shawn Heisey wrote: > On 7/20/2015 6:06 AM, Steven White wrote: > > Just to be clear, the example at

Re: Basic auth

2015-07-22 Thread Steven White
zing > > Solr to receive credentials and use them for authentication to remote > > instances - SOLR-1861 is an old implementation for a previous release, > and > > there has been some significant refactoring of SearchHandler since then, > > but the concept works well for di

Issues sending mail to the list

2015-07-23 Thread Steven White
Hi Everyone, I'm seeing that some of my emails are not making it to the mailing list and I confirmed that I'm subscribed: Hi! This is the ezmlm program. I'm managing the solr-user@lucene.apache.org mailing list. I'm working for my owner, who can be reached at solr-user-ow...@luce

Basic Auth (again)

2015-07-23 Thread Steven White
(re-posting as new email thread to see if this will make it to the list) That didn't help. I still get the same result and virtually no log to help me figure out where / what things are going wrong. Here is all that I see in C:\Solr\solr-5.2.1\server\logs\solr.log: INFO - 2015-07-23 05:29:1

Re: Basic Auth (again)

2015-07-23 Thread Steven White
role > > > > 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 > wrote: > > &g

Re: Issues sending mail to the list

2015-07-23 Thread Steven White
5 at 4:31 PM, Upayavira 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 > >

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 = client.resource(uri

Re: HTTP Error 500 on "/admin/ping" request

2015-08-03 Thread Steven White
hs 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 wrote: > On 8/3/2015 11:34 AM, Steven White wrote: > > Hi Everyone, > >

Re: HTTP Error 500 on "/admin/ping" request

2015-08-03 Thread Steven White
solariumphp/solarium/issues/326 On Mon, Aug 3, 2015 at 2:16 PM, Steven White 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

Documentation for: solr.EnglishPossessiveFilterFactory

2015-08-03 Thread Steven White
Hi Everyone, Does anyone knows where I can find docs on ? 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 for, I'm looking for one to describe in details how

Re: Documentation for: solr.EnglishPossessiveFilterFactory

2015-08-04 Thread Steven White
alysis/en/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 W

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 bec

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
an 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 > wrote: > Hi Everyone, > &g

Re: Solr relevancy score order

2015-08-24 Thread Steven White
erges, > 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

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 c

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 wrote: > did you manage to look at the reference guide? > https://cwiki.apache.org/confluence/display/solr/Securing+Solr > > On Mon, Aug 24, 2015 at 9:23 PM, LeZ

Re: User Authentication

2015-08-24 Thread Steven White
u? If so, mostly all your 3 use > cases will addressed. > > Bosco > > > On 8/24/15, 12:18 PM, "Steven White" wrote: > > >Hi Noble, > > > >Is everything in the link you provided applicable to Solr 5.2.1? > > > >Thanks > > > >

Re: Solr relevancy score order

2015-08-27 Thread Steven White
sage/RAM by must specifying > sort=score desc,id asc > where id is your field. This won't do what you want, > but it will simulate it without having to re-index. > > Best, > Erick > > On Mon, Aug 24, 2015 at 11:54 AM, Steven White > wrote: > > Thanks Hoss.

Looking for Traditional Chinese support

2015-08-27 Thread Steven White
Hi Everyone Per https://cwiki.apache.org/confluence/display/solr/Language+Analysis#LanguageAnalysis-Language-SpecificFactories I see the languages Solr supports. Where is Traditional Chinese? Is CJK the one? Thanks Steve

Re: Looking for Traditional Chinese support

2015-08-27 Thread Steven White
ith Solr 5.2 and could not get Solr started because solr.ChineseFilterFactory cannot be loaded. This is what I tried: Thanks Steve On Thu, Aug 27, 2015 at 2:20 PM, Jeanne Wang wrote: > Chinese instead of Simplified Chinese should be Traditional Chinese. > > Jeanne > > On Th

solr-user@lucene.apache.org

2015-09-02 Thread Steven White
Hi Everyone, I have the following in my schema: In the text file "wdfftypes.txt", I have this: & => DIGIT $ => DIGIT I also tried: & => ALPHA $ => ALPHA I then index data that contains the string: "~ ! @ #

Using join with edismax

2015-09-10 Thread Steven White
Hi everyone, Does any one know if "join" across cores supported with edismax? Thanks!!! Steve,

Passing Basic Auth info to HttpSolrClient

2015-09-28 Thread Steven White
Hi, I'm using HttpSolrClient to connect to Solr. Everything works until when I enabled basic authentication in Jetty. My question is, how do I pass to SolrJ the basic auth info. so that I don't get a 401 error? Thanks in advance Steve

Re: Passing Basic Auth info to HttpSolrClient

2015-09-29 Thread Steven White
Hi, Re-posting to see if anyone can help. If my question is not clear, let me know. Thanks! Steve On Mon, Sep 28, 2015 at 5:15 PM, Steven White wrote: > Hi, > > I'm using HttpSolrClient to connect to Solr. Everything works until when > I enabled basic authentication in Je

Two seperate intance of Solr on the same machine

2015-10-26 Thread Steven White
Hi, For reasons I have no control over, I'm required to run 2 (maybe more) instances of Solr on the same server (Windows and Linux). To be more specific, I will need to start each instance like so: > solr\bin start -p 8983 -s ..\instance_one > solr\bin start -p 8984 -s ..\instance_two > so

Re: Two seperate intance of Solr on the same machine

2015-10-27 Thread Steven White
dd "-Dsolr.log=" to make logs to go different > directories. If you want logs to go to same directory but different files > try updating log4j.properties. > > On 26 October 2015 at 13:33, Steven White wrote: > > > Hi, > > > > For reasons I have no contro

Re: Two seperate intance of Solr on the same machine

2015-10-27 Thread Steven White
for the same data. > > -- Jack Krupansky > > On Mon, Oct 26, 2015 at 1:33 PM, Steven White > wrote: > > > Hi, > > > > For reasons I have no control over, I'm required to run 2 (maybe more) > > instances of Solr on the same server (Windows an

Closing Windows CMD kills Solr

2015-10-28 Thread Steven White
Hi Folks, I don't understand if this is an expected behavior or not. On Windows, I start Solr from a command prompt like so: bin\solr start -p 8983 -s C:\MySolrIndex Now, once I close the command prompt the Java process that started Solr is killed. is this expected? How do I keep Solr ali

copyField

2015-11-04 Thread Steven White
Hi, I have 100's of fields to search against based on some pre-defined static rules. So fields A, B, C to be searched as group-X, fields A, B, D, E, F as group-Y, fields B, E, F, G as group-Z. Each group is made up of 100's of fields (at least 500). I can use copyField variations to copy into e

Stopping Solr on Linux when run as a service

2015-11-10 Thread Steven White
Hi folks, This question maybe more of a Linux one vs. Solr, but I have to start someplace. I'm reading this link https://cwiki.apache.org/confluence/display/solr/Taking+Solr+to+Production to get Solr on Linux (I'm more of a Windows guy). The page provides good intro on how to setup Solr to start

Number of fields in qf & fq

2015-11-19 Thread Steven White
Hi everyone What is considered too many fields for qf and fq? On average I will have 1500 fields in qf and 100 in fq (all of which are OR'ed). Assuming I can (I have to check with the design) for qf, if I cut it down to 1 field, will I see noticeable performance improvement? It will take a lot

Re: Number of fields in qf & fq

2015-11-19 Thread Steven White
. > > wunder > Walter Underwood > wun...@wunderwood.org > http://observer.wunderwood.org/ (my blog) > > > > On Nov 19, 2015, at 3:46 PM, Steven White wrote: > > > > Hi everyone > > > > What is considered too many fields for qf and fq? On average

Re: Number of fields in qf & fq

2015-11-20 Thread Steven White
ll let > someone else answer that in detail. > > > > In 4.x, the result of each filter query can be cached. After that, they > are quite fast. > > > > wunder > > Walter Underwood > > wun...@wunderwood.org > > http://observer.wunderwood.org/ (my blog) &g

Appending to user's query

2015-11-21 Thread Steven White
Hi everyone, I have a dozen of different edismax request handlers in my solrconfig.xml file where each customize for different uses. They all have pre-defined fq and qf to name some. Here is an example of one such handler: "/select_sales_en":{ "class":"solr.SearchHandler", "nam

Solr memory usage

2015-12-08 Thread Steven White
Hi folks, My index size on disk (optimized) is 20 GB (single core, single index). I have a system with 64 GB of RAM. I start Solr with 24 GB of RAM. I have run load tests (up to 100 concurrent users) for hours where each user issuing unique searches (the same search is never executed again for

Re: Solr memory usage

2015-12-09 Thread Steven White
our test, add some > padding and consider it good. You're _not_ doing the > really bad thing of using the same query over and over > again and hoping . > > Best, > Erick > > > On Tue, Dec 8, 2015 at 11:54 AM, Steven White > wrote: > > Hi folks, > > &g

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 , "q" and "fq". If I have 50 fields in a Solr doc and I index them without doing any 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 using "fq" and

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

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, mus

"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

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.

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%20sys&fl=id%2Cscore%2Ctitle&wt=xml&indent=true This will fail with "Expected identifier"

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

2015-04-15 Thread Steven White
s also some 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 > wrote: > > Hi folks, > > > > What is the best practice

Re: Differentiating user search term in Solr

2015-04-16 Thread Steven White
query 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 wrote: > On 4/15/2015 3:54 PM, Steven White wrote: > > Hi folks, > > > > If a us

Re: Differentiating user search term in Solr

2015-04-16 Thread Steven White
sys' Is my use of defType correct? Steve On Thu, Apr 16, 2015 at 9:15 AM, Shawn Heisey 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

Re: Differentiating user search term in Solr

2015-04-16 Thread Steven White
x27; What am I missing? Steve On Thu, Apr 16, 2015 at 10:43 AM, Shawn Heisey 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%20sys&fl=id%2Cscore%

Re: Differentiating user search term in Solr

2015-04-16 Thread Steven White
highlighting for faceting). Thanks Steve On Thu, Apr 16, 2015 at 11:54 AM, Shawn Heisey 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 t

Re: Differentiating user search term in Solr

2015-04-16 Thread Steven White
e On Thu, Apr 16, 2015 at 12:18 PM, Shawn Heisey 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/HighlightingP

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 w

Re: Solr 5.x deployment in production

2015-04-16 Thread Steven White
ture and also 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 wrote: > > > Hi folks, > > > > With Solr 5.0, the WAR file is deprecated and I see Jetty i

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%2Ctitle&wt=xml&indent=true&q.op=AND Than I tried this and got 0 hit: http://localhost:8983/solr/db/select?q={!field%20f=title%20v=$qq}&qq=Ap

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: record_1 record_2 record_3 record_4 record_5 record_6 record_7 record_8 You got the idea.

Re: Solr 5.x deployment in production

2015-04-17 Thread Steven White
ws Servers deployment. -- George On Fri, Apr 17, 2015 at 9:24 AM, Shawn Heisey 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

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 wrote: > Hi folks, > > In my DB, my records are nested in a folder base hierarchy: > > > > record_1 > record_2 > > r

Re: Differentiating user search term in Solr

2015-04-20 Thread Steven White
t to my applications escape list). A better solution would be to have Solr support a new parameter that I 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,

Re: Multilevel nested level support using Solr

2015-04-20 Thread Steven White
; > > > In which case you could just send in the 'folder_parent' field and Solr > would generate the folder_hierarchy field. > > For cases 2 and 4 you could do something similar by adding 2 additional > fields that just index the folder names instead of the paths. &

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 wrote: > First, a little patience on your part please, we're all volunteers here. > > Second, what have you done to try to analyze the problem? Have

Re: Differentiating user search term in Solr

2015-04-20 Thread Steven White
your app layer, you can use > ClientUtils.escapeQueryChars() for user-entered data to do the > escaping without you having to maintain a separate list. > > Best, > Erick > > On Mon, Apr 20, 2015 at 8:39 AM, Steven White > wrote: > > Hi Shawn, > > > > If th

Re: Differentiating user search term in Solr

2015-04-20 Thread Steven White
ule that you > can never field-qualify any term, in which case escaping on the Solr > side would work in _your_ 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,

  1   2   3   >