Re: Solr Cloud + suggesters -> Collection Reload Fail

2015-09-22 Thread lboutros
Hi Alessandro, I think you are facing this issue: https://issues.apache.org/jira/browse/SOLR-6246 Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Cloud-suggesters-Collection-Reload-Fail-tp4230478p4230591.html Sent from the Solr - User mai

Re: collection API timeout

2015-11-05 Thread lboutros
Hi Julien, just one additional thing, if you developed some plugins/filters, you will have to adapt and compile them for the Solr 5 API. Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/collection-API-timeout-tp4238150p4238511.html Sent from the

Replica active during warming

2014-05-12 Thread lboutros
Dear All, we just finished the migration of a cluster from Solr 4.3.1 to Solr 4.6.1. With solr 4.3.1 a node was not considered as active before the end of the warming process. Now, with solr 4.6.1 a replica is considered as active during the warming process. This means that if you restart a repli

Re: Replica active during warming

2014-05-15 Thread lboutros
In other words, is there a way for the LBHttpSolrServer to ignore replicas which are currently "cold" ? Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Replica-active-during-warming-tp4135274p4135542.html Sent from the Solr - User mailing list a

Re: Replica active during warming

2014-05-16 Thread lboutros
Thank you Mark. The issue : https://issues.apache.org/jira/browse/SOLR-6086 Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Replica-active-during-warming-tp4135274p4136038.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Replica active during warming

2014-05-19 Thread lboutros
Hi Erick, I do not pass the LBHttpSolrServer to the c'tor of CloudSolrServer. thx, Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Replica-active-during-warming-tp4135274p4136828.html Sent from the Solr - User mailing list archive at Nabble.co

Re: Inconsistent query times

2014-06-16 Thread lboutros
Hi, this could be a network issue, like dns resolving. To verify this you could update your host file with the ip address of your nodes. Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Inconsistent-query-times-tp4138956p4142098.html Sent from

Re: How-to get results of comparison between documents

2014-06-23 Thread lboutros
Hi Moshe, If I understand correctly your needs, I think you want to use the CollapsingQParser post filter: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=40509582 I think that, basically, adding this filter to your query should solve your problem: fq={!collapse field=document_

Re: Fuzzy 2 search results wrong

2014-01-27 Thread lboutros
Hi Lou, The Solr query Parser creates fuzzy queries with a maximum of 50 term expansions. This is the default value and this is hard coded in the FuzzyQuery class. I would say this is your problem. I think you could create a new Query Parser which could create the fuzzy query with a bigger value

Re: Fuzzy 2 search results wrong

2014-01-28 Thread lboutros
You have to create your own parser which extends the current query parser. You have to override the newFuzzyQuery protected function to call the FuzzyQuery constructor with a configured maximum expansion value or something like that. Ludovic. - Jouve France. -- View this message in conte

SolrCloud Zookeeper disconnection/reconnection

2014-02-13 Thread lboutros
Dear all, we are currenty using Solr 4.3.1 in production (With SolrCloud). We encounter quite the same problem described in this other old post: http://lucene.472066.n3.nabble.com/SolrCloud-CloudSolrServer-Zookeeper-disconnects-and-re-connects-with-heavy-memory-usage-consumption-td4026421.html

Re: SolrCloud Zookeeper disconnection/reconnection

2014-02-16 Thread lboutros
Thanks a lot for your answer. Is there a web page, on the wiki for instance, where we could find some JVM settings or recommandations that we should used for Solr with some index configurations? Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.co

Group on multiple fields in a sharded environment

2014-02-20 Thread lboutros
Dear all, I would like to group my query results on two different fields (not at the same time). I also would like to get the exact group count. And I'm working with a sharded index. I know that to get the exact group count, all documents from a group must be indexed in a unique shard. Now, is t

AND operator in multi valued fields

2014-09-18 Thread lboutros
Dear all, let's say you have two multivalued fields with two different complex analyzers in a quite complex schema. I would like to match specific combinations of values in these fields. For instance : Field1 : Value1, Value2 Field2 : Value3, Value4 I would like to match this document with a q

Re: AND operator in multi valued fields

2014-09-18 Thread lboutros
Alexandre Rafalovitch wrote > Are you saying you want to match 1st value with 1st value (like positional > constraints?). That's exactly what I would like to do. :) - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/AND-operator-in-multi-valued-fields-tp41

Re: AND operator in multi valued fields

2014-09-18 Thread lboutros
Thx Alex. We have main documents in the index. (more than 100 complex fields). Each document can have events attached. An event contains 4 fields with 3 different analyzers. We need more than just filtering on them (highlighting on documents and events at the same time for instance). That means

Re: AND operator in multi valued fields

2014-09-19 Thread lboutros
Thx Alex for your answer. 1) This could be tricky, because the application users write very complex combined queries with main document fields and event fields too. A custom parser does the abstraction. I think that could be very tricky to extract event part of a complex query in order to filter o

Re: AND operator in multi valued fields

2014-09-19 Thread lboutros
I 've just finished a first implementation of a CrossFieldSpanNearQuery and it just works perfectly :D I can now play with position increments and slops to get "exact" results within two multi valued fields. And for the 1st proposal, my user queries can be bigger than 10k with lots of different b

Re: AND operator in multi valued fields

2014-09-23 Thread lboutros
That's excellent Mikhail ! Thanks so much. I have to use it in my custom query parser now. Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/AND-operator-in-multi-valued-fields-tp4159715p4160668.html Sent from the Solr - User mailing list archiv

Re: Combining several fields for facets.

2014-09-24 Thread lboutros
How many different values do you have in your fields and do you know them ? Faceting by query is not an option for you ? Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Combining-several-fields-for-facets-tp4160679p4160866.html Sent from the So

Re: unstable results on refresh

2014-10-20 Thread lboutros
Hi Giovanni, we had this problem as well. The cause was that the different nodes have slightly different idf values. We solved this problem by doing an optimize operation which really remove suppressed data. Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n

Re: updateNumericDocValue in solr 4.6.1

2014-11-26 Thread lboutros
Hello Suchi, I'm using this Lucene function with Solr 4.6.1 in a specific Update Processor and it's working well. How do you test the update ? I'm using a ValueSourceRangeFilter with a LongFieldSource parameter. Ludovic. - Jouve France. -- View this message in context: http://lucene.4720

Re: SolrCloud replica always fully resync index from leader node

2014-11-28 Thread lboutros
Hi Stephon, do you see Zookeeper timeout errors in your log files ? Could you please give us additional informations like : How often is your index updated ? Which version of Solr do you use ? What is the size of your index ? Make sure you have this handler in your solr configuration file :

Re: SolrCloud replica always fully resync index from leader node

2014-11-29 Thread lboutros
Hi Stephon, nothing obvious to me. But it is early in the morning for a saturday :D Did you comment out the old-style replication configuration since your first message ? Do you always see the same behavior ? Ludovic. - Jouve France. -- View this message in context: http://lucene.472066

Get the new terms of fields since last update

2014-12-05 Thread lboutros
Dear all, I would like to get the new terms of fields since last update (once a week). If I retrieve some terms which were already present, it's not a problem (but terms which did not exist before must be retrieved). Is there an easy way to do that ? I'm currently investigating the possibility

Re: Get the new terms of fields since last update

2014-12-05 Thread lboutros
The Apache Solr community is sooo great ! Interesting problem with 3 interesting answers in less than 2 hours ! Thank you all, really. Erik, I'm already saving the billion of terms each week. It's hard to diff 1 billion of terms. I'm already rebuilding the whole dictionaries each week in a cust

Re: Get the new terms of fields since last update

2014-12-05 Thread lboutros
I think payloads are per posting informations which means that it's not trivial (to me at least ;)) to get terms for a given payload. And it's quite intensive to scan all postings. I will check for the bloom filter idea. Thx Ludovic. - Jouve France. -- View this message in context: http:

Re: Get groups which has the number of elements greater than...

2014-12-15 Thread lboutros
To me, it seems you are looking for faceting with the parameter facet.mincount: facet=true&facet.field=groupField&facet.mincount=yourMinimumValue. Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Get-groups-which-has-the-number-of-elements-great

Re: Get groups which has the number of elements greater than...

2014-12-17 Thread lboutros
Andrei, Pivot faceting is the Solr implementation for Hierarchical Facets. I don't think this is what you need. Could you please describe the original use case ? Just to eliminate XY problem. I don't know if this is acceptable for you in term of performance but you could try to solve your proble

Re: Get groups which has the number of elements greater than...

2014-12-17 Thread lboutros
I don't know if this is possible for you but: could you pre-process the group and create nested documents with pre-computed document counts ? https://cwiki.apache.org/confluence/display/solr/Uploading+Data+with+Index+Handlers?focusedCommentId=48792150#UploadingDatawithIndexHandlers-NestedChildDoc

Re: Get groups which has the number of elements greater than...

2014-12-17 Thread lboutros
You could try to denormalize even more : Create two collections: - one with user groups in mind - the second collection with user and groupSignature groups in mind. For instance, with user groups in mind : { "id": "svsKQSFfzhu-SznsU8FUII", "user": "admin", "furniture_cou

Re: Solr restart is taking more than 1 hour

2013-04-06 Thread lboutros
Hi, do you have warming queries with complex sorting/faceting clauses ? Could you please share this part of your configuration ? How many documents do you have in your index ? Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-restart-is-t

Re: core creation and instanceDir parameter

2011-09-01 Thread lboutros
instanceDir=. does that fit your needs ? Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/core-creation-and-instanceDir-parameter-tp3287124p3302496.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: how to do sorting on no. of highlighting in solr

2011-09-08 Thread lboutros
Hi, it is possible to create a new similarity class which returns the term occurrences. You have to disable Idf (just return1), normalization and co. then you have to declare it in your schema: http://wiki.apache.org/solr/SchemaXml#Similarity http://wiki.apache.org/solr/SolrPlugins#Similarity

Re: Solr wildcard searching

2011-09-24 Thread lboutros
And to complete the answer of Erick, in this search, customer_name:"Joh*" * is not considered as a wildcard, it is an exact search. another thing, (it is not your problem...), Words with wildcards are not analyzed, so, if your analyzer contains a lower case filter, in the index, these words

Re: FieldCollapsing don't return every groups

2011-09-28 Thread lboutros
Hi Remy, could you paste the analyzer part of the field merchant_name_t please ? And when you say "it should return more than that", could you explain why with examples ? If I'm not wrong, the field collapsing function is based on indexed values, so if your analyzer is complex (not "string"),

Re: FieldCollapsing don't return every groups

2011-09-28 Thread lboutros
Ok, thanks for the schema. the merchant "Cult Beauty Ltd" should be indexed like this: cult beauty ltd I think some other merchants contain at least one of these words. you should try to group with a special field used for field collapsing: I think you could even disable the stored value f

Re: FieldCollapsing don't return every groups

2011-09-28 Thread lboutros
I just checked, you can disable the storing parameter and use this field: Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/FieldCollapsing-don-t-return-every-groups-tp3376036p3376316.html Sent from the Solr - User mailing list archive at Nabble.c

Re: FieldCollapsing don't return every groups

2011-09-28 Thread lboutros
excellent ! and yes, il fait très beau en France :) - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/FieldCollapsing-don-t-return-every-groups-tp3376036p3376362.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Phrase search error

2011-10-15 Thread lboutros
Hi Jason, you could add this filter to the end of your analyzer : http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.PositionFilterFactory That should solve your problem. Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Phrase-sear

Re: getting solr to expand Acronym

2011-11-11 Thread lboutros
Hi, I'm not sure to see what you mean, but perhaps synonyms could solve your problem ? http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/getting-solr-to-expand-A

Re: Splitting Words but retaining offsets

2011-11-30 Thread lboutros
I think this is what you are looking for : http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.PositionFilterFactory Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Splitting-Words-but-retaining-offsets-tp3546104p3547977.html Sent fr

Re: Terms Component with documents marked for deletion

2011-11-30 Thread lboutros
Hi, you have to use the 'expungeDeletes' additional parameter: http://wiki.apache.org/solr/UpdateXmlMessages and depending on the version of Solr you are using, you perhaps have to use a merge policy like the LogByteSizeMergePolicy. See : https://issues.apache.org/jira/browse/SOLR-2725 Ludovic

Re: Src code download url needed for SOLR 3.5

2012-01-19 Thread lboutros
Hello, you can get the source code from the svn repository too : http://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_5/ Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Src-code-download-url-needed-for-SOLR-3-5-tp3671810p3673818.htm

Re: Highlighting data stored outside of Solr

2012-12-14 Thread lboutros
Hi Michael, it was late yesterday when I wrote my last message. And it did not help that much. Feel free to contact me directly. I can not share the code I wrote for legal obligations. But I can help you :) Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.

Mark document as hidden

2013-03-08 Thread lboutros
Dear all, I would like to mark documents as hidden. I could add a field "hidden" and pass the value to "true", but the whole documents will be reindexed. And External file fields are not searchable. I could store the document keys in an external database and filter the result with these ids. But

Re: Mark document as hidden

2013-03-08 Thread lboutros
Excellent Erik ! It works perfectly. "Normal" filter queries are cached. Is it the same for frange filter queries like this one ? : fq={!frange l=0 u=10}removed_revision Thanks to both for your answers. Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.na

Re: Mark document as hidden

2013-03-08 Thread lboutros
One more question, is there already a way to update the external file (add values) in Solr ? Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Mark-document-as-hidden-tp4045756p4045823.html Sent from the Solr - User mailing list archive at Nabble.

Re: Mark document as hidden

2013-03-08 Thread lboutros
Ok, thanks Erik. Do you see any problem in modifying the Update handler in order to append some values to this file ? Ludovic - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Mark-document-as-hidden-tp4045756p4045839.html Sent from the Solr - User maili

Re: Mark document as hidden

2013-03-08 Thread lboutros
I could create an UpdateRequestProcessorFactory that could update this file, it seems to be better ? - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Mark-document-as-hidden-tp4045756p4045842.html Sent from the Solr - User mailing list archive at Nabble.co

Re: How to Integrate Solr With Hbase

2013-03-12 Thread lboutros
Hi Kamaci, why don't you use the Nutch indexing functionality ? The Nutch Crawling script already contains the Solr indexing step. http://wiki.apache.org/nutch/bin/nutch%20solrindex Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-Integ

Re: Mark document as hidden

2013-03-16 Thread lboutros
Ok, I have created a processor which manages to update the external file. Basically, until a commit request, the hidden document IDs are stored in a Set and when a commit is requested, a new file is created by copying the last one, then the additional IDs are appended to the external file. Now

Re: Mark document as hidden

2013-03-16 Thread lboutros
Hi Jack, the external files involved in External File Fields are not stored in the configuration directory and cannot be replicated this way, furthermore in Solr Cloud, additional files are not replicated anymore. There is something like that in the code: / if (confFileNameAlias.size() < 1 ||

Re: Mark document as hidden

2013-03-17 Thread lboutros
Thanks Jack for your answers. All files in the index directory are replicated ? I thought that only the lucene index files were replicated. If you are right, that's great, because I could create an ExternalFileField type which could get its input file from the index directory and not from the data

Re: Mark document as hidden

2013-03-17 Thread lboutros
Oh, I see :) I did not catch well what you said. Well, my index could contain 80 millions of elements and a big amount of them could be hidden. As you already said, I don't think that ZooKeeper is the right place to store these files, they are too big. Thank you again, that gave me some ideas I w

Re: Mark document as hidden

2013-03-18 Thread lboutros
Thanks Jack. I finally managed to replicate the external files with my own replication handler. But now, there's an issue with Solr in the Update Log replay process. The default processor chain is not used, this means that my processor which manage the external files is not used... I have creat

Re: Responding to Requests with Chunks/Streaming

2012-03-15 Thread lboutros
Hi, I was looking for something similar. I tried this patch : https://issues.apache.org/jira/browse/SOLR-2112 it's working quite well (I've back-ported the code in Solr 3.5.0...). Is it really different from what you are trying to achieve ? Ludovic. - Jouve France. -- View this message

Re: correct XPATH syntax

2012-05-01 Thread lboutros
Hi David, I think you should add this option : flatten=true and the could you try to use this XPath : /MedlineCitationSet/MedlineCitation/AuthorList/Author see here for the description : http://wiki.apache.org/solr/DataImportHandler#Configuration_in_data-config.xml-1 I don't think the that th

Re: correct XPATH syntax

2012-05-03 Thread lboutros
Hi David, what do you want to do with the 'commonField' option ? Is it possible to have the part of the schema for the author field please ? Is the author field stored ? Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/correct-XPATH-syntax-tp3951

Re: correct XPATH syntax

2012-05-03 Thread lboutros
ok, not that easy :) I did not test it myself but it seems that you could use an XSL preprocessing with the 'xsl' option in your XPathEntityProcessor : http://wiki.apache.org/solr/DataImportHandler#Configuration_in_data-config.xml-1 You could transform the author part as you wish and then import

Re: System requirements in my case?

2012-05-22 Thread lboutros
Hi Bruno, will you use facets and result sorting ? What is the update frequency/volume ? This could impact the amount of memory/server count. Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/System-requirements-in-my-case-tp3985309p3985327.html

Re: Multicore Issue - Server Restart

2012-05-29 Thread lboutros
Hi Suajtha, each webapps has its own solr home ? Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Multicore-Issue-Server-Restart-tp3986516p3986602.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: TermComponent and Optimize

2012-06-06 Thread lboutros
It is possible to use the "expungeDeletes" option in the commit, that could solve your problem. http://wiki.apache.org/solr/UpdateXmlMessages#Optional_attributes_for_.22commit.22 Sadly, there is currently a bug with the TieredMergePolicy : https://issues.apache.org/jira/browse/SOLR-2725 SOLR-272

Re: Full text hit term highlighting

2011-03-18 Thread lboutros
Hi, It seems that we have the same problem, how did you solve it ? Did you write some pieces of code ? thx, Ludovic - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Full-text-hit-term-highlighting-tp2020402p2698440.html Sent from the Solr - User mailing l

Re: Dismax and worddelimiterfilter

2011-03-25 Thread lboutros
You could develop your own tokenizer to extract the different forms of your ids. It is possible to extend the pattern tokenizer. Ludovic. Le 25 mars 2011 21:13, "David Yang [via Lucene]" < ml-node+2732007-1439913827-383...@n3.nabble.com> a écrit : > > > Hi, > > > > I am having some really strang

Re: Default operator

2011-03-26 Thread lboutros
The other way could be to extend the SolrQueryParser to read a per field default operator in the solr config file. Then it should be possible to override this functions : setDefaultOperator getDefaultOperator and this two which are using the default operator : getFieldQuery addClause The you ju

Re: copyField at search time / multi-language support

2011-03-29 Thread lboutros
Tom, to solve this kind of problem, if I understand it well, you could extend the query parser to support something like meta-fields. I'm currently developing a QueryParser Plugin to support a specific syntax. The support of meta-fields to search on different fields (multiple languages) is one of

Re: Matching the beginning of a word within a term

2011-03-30 Thread lboutros
Do you want to tokenize subwords based on dictionaries ? A bit like disagglutination of german words ? If so, something like this could help : DictionaryCompoundWordTokenFilter http://search.lucidimagination.com/search/document/CDRG_ch05_5.8.8 Ludovic http://lucene.apache.org/java/2_4_0/api/org

Re: Matching the beginning of a word within a term

2011-03-31 Thread lboutros
So if i understand well, in these exemples : http://localhost:8983/solr/search/?q=*:*&fq={!q.op=AND%20df=common_names}"companion mank"~10 http://localhost:8983/solr/search/?q=*:*&fq={!q.op=AND%20df=common_names}"companion manki"~10 http://localhost:8983/solr/search/?q=*:*&fq={!q.op=AND%20df=co

Re: wildcard search inconsistencies

2011-04-01 Thread lboutros
'conditional' seems to be stemmed into the word 'condit' in the index. So your results are normal. As you said, mixing wildcards searching and stemmed fields is not recommanded. Ludovic. 2011/4/1 Melanie Drake [via Lucene] < ml-node+2763787-65059921-383...@n3.nabble.com> > I noticed an inconsi

Re: wildcard search inconsistencies

2011-04-01 Thread lboutros
And to be more helpfull, you can activate the debug (debugQuery=on in the query) mode to see the transform query : for instance 'field:contitional' : field:conditional field:conditional field:condit field:condit for 'field:conditional*' : field:conditional* field:conditional* field:conditional*

Re: Multiple terms in query

2011-04-02 Thread lboutros
You could turn on the debug mode, there is a part which explain the scoring of the query. It is a bit tricky but that could help. Could you paste your query (full url), and the field definition in your schema please ? Ludovic. - Jouve France. -- View this message in context: http://lucene.4

Re: Multiple Words in String

2011-04-03 Thread lboutros
I managed to find both documents with your two input queries . Add this filter in your analyzer query part : => The main problem is that your query "microsoft" is transfor

Re: question on solr.ASCIIFoldingFilterFactory

2011-04-05 Thread lboutros
Is there any Stemming configured in for this field in your schema configuration file ? Ludovic. 2011/4/5 Nemani, Raj [via Lucene] < ml-node+2780463-48954297-383...@n3.nabble.com> > All, > > I am using solr.ASCIIFoldingFilterFactory to perform accent insensitive > search. One of the words that g

RE: question on solr.ASCIIFoldingFilterFactory

2011-04-05 Thread lboutros
Your analyzer contains these two filters : before : So two things : The words you are testing are not english words (no ?), so the stemming will have strange behavior. If you really want to remove accents, try to put the ASCIIFoldingFilterFactory before the two others. Ludovic. - Jo

RE: question on solr.ASCIIFoldingFilterFactory

2011-04-05 Thread lboutros
this analyzer seems to work : I used Spanish stemming, put the ASCIIFoldingFilterFactory before the stemming filter and added it in the que

Re: Shared conf

2011-04-07 Thread lboutros
You could use the replication to replicate the configuration files : http://wiki.apache.org/solr/SolrReplication What do you want to do with your different cores ? Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Shared-conf-tp2787771p2789447.htm

Re: Using MLT feature

2011-04-08 Thread lboutros
It seems that tokens are sorted by frequencies : ... Collections.sort(profile, new TokenComparator()); ... and private static class TokenComparator implements Comparator { public int compare(Token t1, Token t2) { return t2.cnt - t1.cnt; } and cnt is the token count. Ludovic. 20

Re: Using MLT feature

2011-04-08 Thread lboutros
the original order comes from the way they are > inserted in hashmap 'tokens' and not from the order the tokens appear on > original text. > > Frederico > > -Original Message- > From: lboutros [mailto:[hidden > email]<http://user/SendEmail.jtp?type=node&no

Re: Performance with search terms starting and ending with wildcards

2011-04-10 Thread lboutros
Which version of solr are you using ? NGrams could be an option but could you give us the field definition in your schema ? The words count in this field index ? Ludovic. 2011/4/10 Ueland [via Lucene] < ml-node+2802561-121096623-383...@n3.nabble.com> > Hi! > > I have been doing some testing wi

Re: Spellchecker with synonyms

2011-04-11 Thread lboutros
Did you configure synonyms for your field at query time ? Ludovic. 2011/4/11 royr [via Lucene] > Hello, > > I have some synonyms for city names. Sometimes there are multiple names for > one city, example:. > > newyork, newyork city, big apple > > I search for "big apple" and get results with ne

Re: Can I set up a config-based distributed search

2011-04-11 Thread lboutros
You can add to your search handler the "shards" parameter : host1/solr, host2/solr Is is what you are looking for ? Ludovic. 2011/4/11 Ran Peled [via Lucene] < ml-node+2806331-346788257-383...@n3.nabble.com> > In the Distributed Search page ( > http://wiki.apache.org/solr/DistributedSearc

Re: Allowing looser matches

2011-04-13 Thread lboutros
If you are using the Dismax query parser, perhaps could you take a look to the minimum should match parameter 'mm' : http://wiki.apache.org/solr/DisMaxQParserPlugin#mm_.28Minimum_.27Should.27_Match.29 Ludovic. 2011/4/13 Mark Mandel [via Lucene] < ml-node+2815186-149863473-383...@n3.nabble.com>

Re: all searches return 0 hits - what have I done wrong?

2011-04-18 Thread lboutros
did you try with the comlete xpath ? Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/all-searches-return-0-hits-what-have-I-done-wrong-tp2833706p2833798.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: all searches return 0 hits - what have I done wrong?

2011-04-18 Thread lboutros
If a document contains multiple 'txt' fields, it should be marked as 'multiValued'. But if I'm understanding well, you also tried this ? : And for your search (MomsManual), could you give us your analyzer from the schema.xml please ? Ludovic. - Jouve France. -- View this message in co

Re: Custom Sorting

2011-04-19 Thread lboutros
You could create a new Similarity class plugin that take in account every parameters you need. : http://wiki.apache.org/solr/SolrPlugins?highlight=%28similarity%29#Similarity but, as Jan said, be carefull with the cost of the the similarity function. Ludovic. 2011/4/19 Jan Høydahl / Cominvent

Re: How could each core share configuration files

2011-04-20 Thread lboutros
Perhaps this could help : http://lucene.472066.n3.nabble.com/Shared-conf-td2787771.html#a2789447 Ludovic. 2011/4/20 kun xiong [via Lucene] < ml-node+2841801-1701787156-383...@n3.nabble.com> > Hi all, > > Currently in my project , most of the core configurations are > same(solrconfig.xml, dataim

Re: Solr - upgrade from 1.4.1 to 3.1 - finding AbstractSolrTestCase binaries - help please?

2011-04-21 Thread lboutros
There is a jar for the tests in solr. I added this dependency in my pom.xml : org.apache.solr solr-core 3.1-SNAPSHOT tests test jar Ludovic. - Jouve France. -- View this message in context: http://luce

RE: The issue of import data from database using Solr DIH

2011-04-21 Thread lboutros
What you want to do is something like a left outer join, isn't it ? something like : select table2.OS06Y, f1,f2,f3,f4,f5 from table2 left outer join table1 on table2.OS06Y = table1.OS06Y where ... could you prepare a view in your RDBMS ? That could be another solution ? Ludovic. - Jouve Fra

Re: Facing problem with white space in synonyms

2011-04-27 Thread lboutros
coud you try to escape white spaces like this: Hind\ claw Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Facing-problem-with-white-space-in-synonyms-tp2870193p2870552.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Autocomplete(terms) middle of words

2011-04-29 Thread lboutros
you could use EdgeNGramFilterFactory : http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.EdgeNGramFilterFactory And you should mix front and back ngram process in your analyzer : is it better ? Ludovic. -Jouve France.-- View this message in context: http://lucene.472066.n

Re: DataImportHandler on 2 tables

2011-05-02 Thread lboutros
Do you want to search on the datas from the tables together or seperately ? Is there a join between the two tables ? Ludovic. 2011/5/2 Greg Georges [via Lucene] < ml-node+2891256-222073995-383...@n3.nabble.com> > Hello all, > > I have a system where I have a dataimporthandler defined for one tab

Re: DataImportHandler on 2 tables

2011-05-02 Thread lboutros
ok, so It seems you should create a new index and core as you said. see here for the management : http://wiki.apache.org/solr/CoreAdmin But it seems that is a problem for you. Is it ? Ludovic. 2011/5/2 Greg Georges [via Lucene] < ml-node+2891277-472183207-383...@n3.nabble.com> > No, the data

Re: stemming for English

2011-05-03 Thread lboutros
Hi, I think you have to use stemming on both side (index and query) if you really want to use stemming. Ludovic 2011/5/3 Dmitry Kan [via Lucene] < ml-node+2893599-894006307-383...@n3.nabble.com> > Dear list, > > In SOLR schema on the index side we use no stemming to support favor > wildcard sea

Re: stemming for English

2011-05-03 Thread lboutros
Dmitry, I don't know any way to keep both stemming and consistent wildcard support in the same field. To me, you have to create 2 different fields. Ludovic. 2011/5/3 Dmitry Kan [via Lucene] < ml-node+2893628-993677979-383...@n3.nabble.com> > Hi Ludovic, > > That's an option we had before we dec

Re: Is it possible to build Solr as a maven project?

2011-05-04 Thread lboutros
In the ant script there is a target to generate maven's artifacts. After that, you will be able to open the project as a standard maven project. Ludovic. 2011/5/4 Gabriele Kahlout [via Lucene] < ml-node+2898068-621882422-383...@n3.nabble.com> > Hello, > > I'm trying to modify Solr and I think d

Re: Is it possible to build Solr as a maven project?

2011-05-04 Thread lboutros
oups, sorry, this was not the target I used (this one should work too, but...), the one I used is get-maven-poms. That will just create pom files and copy them to their right target locations. I'm using netbeans and I'm using the plugin "Automatic Projects" to do everything inside the IDE. Which

Re: Is it possible to build Solr as a maven project?

2011-05-04 Thread lboutros
ok, this is part of my build.xml (from the svn repository) : Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Is-it-possible-to-build-Solr-as-a-maven-project-tp2898068p2898339.html Sent from

Re: Deprication warnings in Solr log

2011-05-04 Thread lboutros
did you update this part in your solrconfig.xml ? LUCENE_31 Ludovic. - Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/Deprication-warnings-in-Solr-log-tp2898163p2898749.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Is it possible to build Solr as a maven project?

2011-05-04 Thread lboutros
I do not build this part, I don't need it. The lib was present in the branch_3x branch, but is not there anymore. You can download it here : http://search.lucidimagination.com/search/out?u=http%3A%2F%2Fdownloads.osafoundation.org%2Fdb%2Fdb-4.7.25.jar You have to install it locally. Ludovic. 2

  1   2   >