Re: How on EARTH do I remove 's in schema file?

2017-03-19 Thread donato
Thank you for you response, Shawn! Then what do I do? I think I did a re-index after. I guess I will have to try again. I have been at this for days and up until 2:30am and getting up at 6:30am. It has been killing me! All I want is to search the name field and the tag field, which I believe is

Re: block join - search together at parent and childern

2017-03-19 Thread Damien Kamerman
It can work with multiple searches. One search would return A docs, 2nd search would return B docs etc. Alternatively, use solr streaming expressions which have proper joins. On 19 March 2017 at 19:58, Jan Nekuda wrote: > Hi Michael, > thank you for fast answer - I have

Re: Storing index of different collections in different location

2017-03-19 Thread Mikhail Khludnev
Hello, Edwin. https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-CREATESHARD:CreateaShard mentions property.*name*=*value* string No Set core property *name* to *value*. See the section Defining core.properties

Re: How on EARTH do I remove 's in schema file?

2017-03-19 Thread Shawn Heisey
On 3/19/2017 11:29 AM, donato wrote: > Well, if I change it to text, then I get 0 results... Did you completely reindex (deleting the index beforehand) after you changed from string to text? If you didn't, then nothing's going to work. Most schema changes require a reindex.

Re: How on EARTH do I remove 's in schema file?

2017-03-19 Thread donato
And apparently, a string field does not support an analyzer...? Plugin init failure for [schema.xml] fieldType "string": FieldType: StrField (string) does not support specifying an analyzer -- View this message in context:

Re: How on EARTH do I remove 's in schema file?

2017-03-19 Thread donato
Well, if I change it to text, then I get 0 results... I seriously am at a loss... I don't know why this is so hard. Everything else works, except for this! Something that should be SOOO simple. Why am I not getting this!? Everything I have tried does not work. It just doesn't! Can you please

Re: How on EARTH do I remove 's in schema file?

2017-03-19 Thread John Blythe
You do. That's the problem. It's a string type, it doesn't have the analysis chain "text" does. On Sun, Mar 19, 2017 at 12:47 PM donato wrote: > Hi John, > > I actually do have stored="true" multiValued="true" required="false"/> in there already... > > Thanks. > > > > -- >

Re: How on EARTH do I remove 's in schema file?

2017-03-19 Thread donato
Hi John, I actually do have in there already... Thanks. -- View this message in context: http://lucene.472066.n3.nabble.com/How-on-EARTH-do-I-remove-s-in-schema-file-tp4325709p4325856.html Sent from the Solr - User mailing list archive at Nabble.com.

Storing index of different collections in different location

2017-03-19 Thread Zheng Lin Edwin Yeo
Hi, Is it possible to store the index of different collections of the same shard under different directory or even different hard disk? For example, I want to store the index of collection1 in C drive, and the index of collection2 in D drive. I'm using SolrCloud in Solr 6.4.2 Regards, Edwin

Re: How on EARTH do I remove 's in schema file?

2017-03-19 Thread John Blythe
easiest means for PoC: you could copy your "text" field definition (find this: ...), paste it, and then change the "name" property to "tag" On Sun, Mar 19, 2017 at 9:43 AM, donato wrote: > Thank you so much, John! How do I set the Tag field then too? I think that > is the

Re: How on EARTH do I remove 's in schema file?

2017-03-19 Thread Ahmet Arslan
Hi Donato, How about using ApostropheFilterFactory ? http://lucene.apache.org/core/6_4_2/analyzers-common/org/apache/lucene/analysis/tr/ApostropheFilter.html Ahmet On Sunday, March 19, 2017 4:08 PM, donato wrote: Then why is it not working? It doesn't make sense at

Re: How on EARTH do I remove 's in schema file?

2017-03-19 Thread donato
Thank you so much, John! How do I set the Tag field then too? I think that is the problem, correct? Sorry, but I just inherited this recently... From: John Blythe [via Lucene] Sent: Sunday, March 19, 2017 9:17:52 AM

Re: How on EARTH do I remove 's in schema file?

2017-03-19 Thread John Blythe
it is working. the 's is stripped in the next line. the token doesn't change as the analysis chain progresses bc there is nothing to change. you seem to have no synonyms for "patrick" in your synonym file. EnglishPossessive has no possessive to strip (ST already did that). porterstem stems

Re: How on EARTH do I remove 's in schema file?

2017-03-19 Thread donato
Then why is it not working? It doesn't make sense at all? And in the Tag field, it appears NOTHING is happening... It states something about a DefaultAnalyzer? I am seriously at a loss... this seems like a simple solution that shouldn't be this hard! And it should be somewhat expected. Why is

Re: How on EARTH do I remove 's in schema file?

2017-03-19 Thread John Blythe
StandardTokenizer IS removing it. The token you see in each line is what is passed _in_ to the tokenizer. The next line shows what came out. On Sun, Mar 19, 2017 at 9:00 AM donato wrote: > And here is my most recent schema.xml file after your suggestions... * >

Re: How on EARTH do I remove 's in schema file?

2017-03-19 Thread donato
And here is my most recent schema.xml file after your suggestions... * DOWNLOAD HERE* -- View this message in context: http://lucene.472066.n3.nabble.com/How-on-EARTH-do-I-remove-s-in-schema-file-tp4325709p4325841.html Sent from the Solr - User mailing list archive

Re: How on EARTH do I remove 's in schema file?

2017-03-19 Thread donato
Thanks, Erick! Okay. Clearly the StandardTokenizerFactory is keeping the 's. I have commented almost everything out, including the stopwords, which doesn't even HAVE patrick's in there. This is what the analyizer is saying now: for the *Name *Fieldname / FieldType ST | patrick's -

Re: OCR not working occasionally

2017-03-19 Thread Zheng Lin Edwin Yeo
This is my settings in the PDFParser.properties file under tika-parsers-1.13.jar enableAutoSpace true extractAnnotationText true sortByPosition false suppressDuplicateOverlappingText false extractAcroFormContent true extractInlineImages true extractUniqueInlineImagesOnly true

Re: block join - search together at parent and childern

2017-03-19 Thread Jan Nekuda
Hi Michael, thank you for fast answer - I have tried it, but it's not exactly what I need. I hope that I understood it good - the problem is that if I will write foo bar and foo bar is not found in root entity then it returns nothing even if any field in children contains foo bar. I need to write