Filter on multiple word field of type string not showing any results

2012-12-31 Thread PeterKerk
I'm trying to filter on the field functiontitle_nl when the user selects Management en Organisatie, but I'm getting 0 results. The actual value in the DB is Management en Organisatie. This is the URL I build up to query the Solr index:

Re: Atomicity of commits (soft OR hard) across replicas - Solr Cloud

2012-12-31 Thread Tomás Fernández Löbbe
If by cronned commit you mean auto-commit: auto-commits are local to each node, are not distributed, so there is no something like a cluster-wide atomicity there. The commit may be performed in one node now, and in other nodes in 5 minutes (depending on the maxTime you have configured). If you

Re: Filter on multiple word field of type string not showing any results

2012-12-31 Thread Tomás Fernández Löbbe
Try with quotes or escaping whitespaces: fq:Management en Organisatie ...or fq:Management\ en\ Organisatie Make sure you use the correct case. Tomás On Mon, Dec 31, 2012 at 6:54 AM, PeterKerk vettepa...@hotmail.com wrote: I'm trying to filter on the field functiontitle_nl when the user

Re: Filter on multiple word field of type string not showing any results

2012-12-31 Thread Tomás Fernández Löbbe
It can't be *really* case independent. You could lowercase everything, but you'd see the facet value in lowercase too. If you really need to search in lowercase and display the original content on the facet value you could use two fields, one for faceting (of type string) and one for filtering (of

Re: Filter on multiple word field of type string not showing any results

2012-12-31 Thread Upayavira
You should lowercase by creating a field of a new type, with an analysis chain. The KeywordTokenizerFactory will spit out the whole string as a single token. You can then use the LowerCaseFilterFactory to do the real work. The end result is a single token, which is effectively the same things as

Re: old index not cleaned up on the slave

2012-12-31 Thread Upayavira
You've shown us the directory on the slave but not the master, so it is hard to see how you have decided that stuff should have been deleted. I see two segments_* files which shouldn't be the case, but they are small. The other files are segment files and multiple segments is legitimate.

Re: search with spaces

2012-12-31 Thread Ahmet Arslan
hi Sangeetha, Your field type definition is somehow weird. Since you use solr.LowerCaseTokenizerFactory you don't need LowerCaseFilterFactory after that. Your tokenizer keeps only letters. Number and other thing do not survive after tokenization. It is letter tokenizer under the hood.

Re: search with spaces

2012-12-31 Thread Jack Krupansky
It would help if we had a clear description of what the analyzer is SUPPOSED to do, since it seems to do a lot of stuff that may or may not make sense. In other words, what is the original problem the analzer is trying to solve - in detail? -- Jack Krupansky -Original Message- From:

Re: New user: version conflict for ....

2012-12-31 Thread Chris Hostetter
: any of the cloud apparatus. I wish to update a document (Node) with : new information. I send back as a partial update using SolrJ's add() : command : document id : the new or updated field : version number precisely as it was fetched can you give us more details about what your client code is

Re: New user: version conflict for ....

2012-12-31 Thread Jack Park
Hi Chris, Your suspicion turned out to be spot on with a code glitch. The history of this has been due to a fairly weak understanding of how partial update works. The first code error was just a simple,stupid one in which I was not working against a current copy of the document. But, when I got

Re: Where is ISOLatin1AccentFilterFactory (Solr4)?

2012-12-31 Thread Jack Krupansky
Use its replacement, the MappingCharFilter char filter, like: fieldType name=text_char_norm class=solr.TextField positionIncrementGap=100 analyzer charFilter class=solr.MappingCharFilterFactory mapping=mapping-ISOLatin1Accent.txt/ tokenizer class=solr.WhitespaceTokenizerFactory/

Re: Can one use Analyzers with non TextField types?

2012-12-31 Thread Jack Krupansky
Today, in 4.0, only TextField supports an analyzer. But, technically, you could implement your own field type that did support an analyzer. Maybe you could add a field type that extended Location and adding support for an analyzer. -- Jack Krupansky -Original Message- From:

Re: Where is ISOLatin1AccentFilterFactory (Solr4)?

2012-12-31 Thread Erick Erickson
ASCIIFoldingFilterFactory is preferred, does that suit your needs? On Mon, Dec 31, 2012 at 10:46 PM, Jack Krupansky j...@basetechnology.comwrote: Use its replacement, the MappingCharFilter char filter, like: fieldType name=text_char_norm class=solr.TextField positionIncrementGap=100

Re: Can one use Analyzers with non TextField types?

2012-12-31 Thread Alexandre Rafalovitch
Thank you. That's enough of the direction and current limitations information. Regards, Alex. Personal blog: http://blog.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it