Re: ConcurrentUpdateSolrClient ignoring the collection param in some methods

2015-06-26 Thread Jorge Luis Betancourt González
Thanks for the prompt reply Shawn. I've created an issue about this [1] from the code the collection parameter is clearly ignored unless is a commit or the UpdateParams.WAIT_SEARCHER parameter is set in the params of the request, which is an indication of a commit/optimize. The queue only cont

Solr Spellalike Feature

2015-06-26 Thread octopus
Hi, I am new to Solr and would like to find out if Solr has a spellalike feature that can fulfill this requirement: Searching "HAT" in the data that contains "CAT" would match. It is similar to searching: ?AT, H?T and ?AT. Other than querying multiple times, do you have advice on how I can optim

Re: ConcurrentUpdateSolrClient ignoring the collection param in some methods

2015-06-26 Thread Shawn Heisey
On 6/26/2015 2:27 PM, Jorge Luis Betancourt González wrote: > I'm trying to use the ConcurrentUpdateSolrClient class, that has some methods > that accept and aditional parameter to indicate the collection, some of this > methods are add(String collection, SolrInputDocument doc), > request(SolrRe

ConcurrentUpdateSolrClient ignoring the collection param in some methods

2015-06-26 Thread Jorge Luis Betancourt González
Hi all, I'm trying to use the ConcurrentUpdateSolrClient class, that has some methods that accept and aditional parameter to indicate the collection, some of this methods are add(String collection, SolrInputDocument doc), request(SolrRequest, String collection). With HttpSolrClient this works f

Re: Solr Data Import Scheduler

2015-06-26 Thread Upayavira
If you have a lot of content, reimporting everything every 10 minutes will be a bad idea. Solr uses a "write once" strategy. If you update something, it won't just change a single field, or notice that nothing has changed, it will simply mark the current version as deleted and insert another. Thu

Re: Exact phrase search on very large text

2015-06-26 Thread Alessandro Benedetti
You are tokenising … "" Be careful in doing first the lowercase token filter. It's a best practice to first charFilter, then Tokenize and finally the set of Token Filters. Cheers 2015-06-26 13:27 GMT+01:00 Mike Thomsen : > I tried creating a simplified new text field type that only did lower > c

Re: Exact phrase search on very large text

2015-06-26 Thread Mike Thomsen
I tried creating a simplified new text field type that only did lower casing and exact phrasing worked this time. I'm not sure what the problem was. Perhaps it was a case of copypasta gone bad because I could have sworn that I tried exact phrase matching against a simple text field with bad results

Re: Upgrade to 5.2 from 4.6, no storing of text

2015-06-26 Thread Mark Ehle
In my schema from 4.6, the text was in the 'text' field, and the "stored" attrib was set to "true" as it is in the 5.2 schema. I am ingesting the text from files on the server , and it used to work just fine with 4.6. I am using the same schema except I had to get rid the field types pint, plong, p

Re: Upgrade to 5.2 from 4.6, no storing of text

2015-06-26 Thread Alessandro Benedetti
Actually storing or not storing a field is a simple schema.xml configuration. This suggestion can be obvious, but … have you checked you have your "stored" attribute set "true" for the field you are interested ? I am talking about the 5.2 schema. Cheers 2015-06-26 12:24 GMT+01:00 Mark Ehle : >

Upgrade to 5.2 from 4.6, no storing of text

2015-06-26 Thread Mark Ehle
Folks - I am using SOLR 4.6 to run a newspaper indexing site we have at the library I work at. I would like to update to 5.2, and I have an instance of it running. When I go to index the txt files of each newspaper page, I can search and find stuff, but there is no text stored any more. I do use h

Re: Exact phrase search on very large text

2015-06-26 Thread Jack Krupansky
Lucene, the underlying search engine library, imposes this 32K limit for individual terms. Use tokenized text instead. -- Jack Krupansky On Thu, Jun 25, 2015 at 8:36 PM, Mike Thomsen wrote: > I need to be able to do exact phrase searching on some documents that are a > few hundred kb when treat

Solr Data Import Scheduler

2015-06-26 Thread rbkumar88
Hi, I wanted to run full import without clean say every 10 minutes. I was able to do that via Solrj.I was also checking a condition that if previous import is complete,trigger full import else skip. The only challenge I have is everytime when full import is triggered, I want to modify the db data

need advice on parent child mulitple category

2015-06-26 Thread Darniz
hello all i need some best practice advice on nested categories i have a atom file which i am going to index in solr. The file has the below categorization as you can see below. the first four category comparison test, honda , kia and sedan are parent level Then the next two Civic is a child of Ho

Re: Auto-suggest in Solr

2015-06-26 Thread Alessandro Benedetti
Up, Can anyone gently take a look to my considerations related the FreeText Suggester ? I am curious to have more insight. Eventually I will deeply analyse the code to understand my errors. Cheers 2015-06-19 11:53 GMT+01:00 Alessandro Benedetti : > Actually the documentation is not clear enough

Re: Solr Suggester not working.

2015-06-26 Thread Alessandro Benedetti
I agree with David, I see a Ton of wrong configuration in yours … Please have a read of the documentation linked . And take a look to this mailing list, we have tons of messages related that can help you. A first suggestion for you anyway, is to take care of your analysis. The suggestions will be t

Re: Exact phrase search on very large text

2015-06-26 Thread Alessandro Benedetti
I agree with Updaya, furthermore It doesn't make any sense to try to solve a "Phrase search" problem , not tokenising at all the text … It's not going to work and it is fundamentally wrong to not tokenise long textual fields if you want to do free text search in them. Can you explain us better your

Re: Exact phrase search on very large text

2015-06-26 Thread Upayavira
Why do you want to use the KeywordTokenizer? Why not use a text field, and use Solr's phrase search features? q="some phrase" will match those terms next to each other, and should be fine with a large block of text. Combine that with hit highlighting, and it'll return a snippet of that block of t

issue with highlighting in solr 4.10.2

2015-06-26 Thread Dmitry Kan
Hi, When highlighting hits for the following query: (+Contents:apple +Contents:watch) Contents:iphone I expect the standard solr highlighter to highlight either iphone or iphone AND apple, only if watch is present. However, solr highlights iphone along with only apple. Is this a bug or a known