[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-03-01 Thread Commit Tag Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13590400#comment-13590400
 ] 

Commit Tag Bot commented on SOLR-3843:
--

[branch_4x commit] Robert Muir
http://svn.apache.org/viewvc?view=revision&revision=1451543

SOLR-3843: add lucene-codecs.jar


> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Assignee: Robert Muir
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-03-01 Thread Commit Tag Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13590379#comment-13590379
 ] 

Commit Tag Bot commented on SOLR-3843:
--

[trunk commit] Robert Muir
http://svn.apache.org/viewvc?view=revision&revision=1451542

SOLR-3843: add lucene-codecs.jar


> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Assignee: Robert Muir
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-27 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13588507#comment-13588507
 ] 

Robert Muir commented on SOLR-3843:
---

{quote}
Have you looked at ElasticSearch? Its very tiny (20 MB alltogether), no useless 
analyzers for every language on earth. If you need kumoroji, enter:

bin/plugin -install elasticsearch/elasticsearch-analysis-kuromoji

This downloads the plugin and installs it into the ES lib folder. This is how 
it should work, instead of one horrible huge war file.
{quote}

But I'm not sure this is a good thing. I did some quick google searches and 
found:
* http://www.sentric.ch/blog/why-we-chose-solr-4-0-instead-of-elasticsearch
  "Better language support out of the box"
* 
http://blog.sematext.com/2012/09/04/solr-vs-elasticsearch-part-2-data-handling/
  "Apache Solr 4.0 beta has the advantage over ElasticSearch because it can 
handle more languages out of the box"

I think both search servers are good for the lucene ecosystem and its not my 
intent to stir up some battle about which is better.
I'm guessing that you can access all of the lucene analyzers from either one, 
but the *impression* from *packaging* is that Solr
is better.

Lets not make this same mistake with codecs! 

Most users probably could care less about SPI etc (this is all implementation 
details). They do care about being able to
search different languages and index their content with the appropriate data 
structures.

I'm happy to open an issue to refactor our build and tests to internally 
reflect the fact that, using solr-core as a library for example, you dont 
technically need certain jars.

But can we separate this from *packaging*, at least for now? It would be 
depressing to me to see articles like this that say solr has bad support for 
flexible indexing.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-26 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587708#comment-13587708
 ] 

Mark Miller commented on SOLR-3843:
---

Uwe,
I do respect your opinion in the large sense of the phrase, but I don't agree 
with you about not adding the 300k jar. That is all :)


> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-26 Thread Markus Jelsma (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587641#comment-13587641
 ] 

Markus Jelsma commented on SOLR-3843:
-

As user we already repack the war with the jars we need, including the codecs 
jar. But because the codecs jar can provide better performance on SolrCloud 
(bloom filter) i think 300k justifies adding it to a vanilla build.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-26 Thread Uwe Schindler (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587629#comment-13587629
 ] 

Uwe Schindler commented on SOLR-3843:
-

Hi Mark,
I cannot do anything against this, but I can still say, that I don't agree with 
you. That's all. Please respect my opinion.
Uwe

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-26 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587494#comment-13587494
 ] 

Mark Miller commented on SOLR-3843:
---

Your talking about something completely different - I'm talking about adding 
300k to a webapp - sounds like you want to file a different JIRA issue that has 
little to do with that.

In the modern day, I have no problem with the Solr dist - I'd much rather get 
everything simply as we do than have to stitch crap together. I have disk space 
and bandwidth as does the majority of the modern world now. If you are offering 
to write a package manager for solr for unix/windows/mac, please go ahead :) 
But until then, it makes no sense to not include the codecs the same way we do 
with analyzers and spellchecker and highlighter, and whatever else we need.

If I had to run 10 commands to get solr, get spellchecking, get analyzers, get 
highlighing, get QueryParsers, get MoreLikeThis, etc, I would shoot myself.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-26 Thread Uwe Schindler (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587477#comment-13587477
 ] 

Uwe Schindler commented on SOLR-3843:
-

Have you looked at ElasticSearch? Its very tiny (20 MB alltogether), no useless 
analyzers for every language on earth. If you need kumoroji, enter:

{noformat}
bin/plugin -install elasticsearch/elasticsearch-analysis-kuromoji
{noformat}

This downloads the plugin and installs it into the ES lib folder. This is how 
it should work, instead of one horrible huge war file.

But it bundles lucene-codecs.jar, but that has another reason (I think it uses 
bloom, as far as I remember).

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-26 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587460#comment-13587460
 ] 

Mark Miller commented on SOLR-3843:
---

Modules in Lucene have little to do with Solr. We shouldn't make users work to 
save 300k in the webapp. This is super silly stuff...

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-26 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587432#comment-13587432
 ] 

Robert Muir commented on SOLR-3843:
---

{quote}
OK, then we can also remove the modules in Lucene completely! Let's just create 
a 8 MB lucene.jar file.
{quote}

This would be a 20MB jar. If you included their dependencies so it actually 
functioned correctly, 43MB.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-26 Thread Uwe Schindler (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587421#comment-13587421
 ] 

Uwe Schindler commented on SOLR-3843:
-

OK, then we can also remove the modules in Lucene completely! Let's just create 
a 8 MB lucene.jar file.

We have modules to make this possible and let users start with a small 
installation without useless stuff they will never need... This is just my 
opinion, but to me it looks we can get rid of all modules, have one big 
build.xml, one big classpath and finally have only one big JAR file for Lucene 
and Solr - but that's real masochism, especially for projects like ES!

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-26 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587309#comment-13587309
 ] 

Mark Miller commented on SOLR-3843:
---

bq. If users want to experiment they just need to copypaste a file, where is 
the problem?

That it's much easier to not have to copy past a file?

At the sizes of the files involved, your just being a masochist :)

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-26 Thread Uwe Schindler (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587302#comment-13587302
 ] 

Uwe Schindler commented on SOLR-3843:
-

I could agree to add this for now, but once you committed this: Open a new 
issue to cleanup solr.war and remove *all* optional stuff (like 
analyzers-phonetic.jar). Instead add a internet downloader using ivy/maven for 
setup of solr/lib folder.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-26 Thread Uwe Schindler (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587289#comment-13587289
 ] 

Uwe Schindler commented on SOLR-3843:
-

If users want to experiment they just need to copypaste a file, where is the 
problem?

In addition: The analysis-extras module is also not needed (except the special 
ICUField, which may more into a solr-icu module), as all analysis factories are 
already inside the analyzers jar. In my opinion, the Solr WAR file should only 
bundle analyzers-common.jar and nothing more. The analysis-extras build.xml 
file is the worst I have seen: It just copies some JAR files from Lucene to 
Solr.

To make it easier for people, we can add a command that uses get/ivy to 
download the JAR file from Maven and install it in solr's lib folder. Optional 
stuff should not be in the WAR file.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-26 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587281#comment-13587281
 ] 

Robert Muir commented on SOLR-3843:
---

So Solr shouldnt bundle any analyzers either?

I'm not trying to say that codecs need to be in core, man this is experimental 
stuff and I definitely dont want to increase our backwards compatibility 
requirements.

I just want to make it easier for users to experiment.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-26 Thread Uwe Schindler (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587276#comment-13587276
 ] 

Uwe Schindler commented on SOLR-3843:
-

-1 To add it to the war. Its so easy to add analyzer JAR files to the solr/lib 
folder, same applies to codecs.

If this DV codec is so important for facetting and sorting and nuking 
FieldCache, move it to lucene-core.jar.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-26 Thread Michael McCandless (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13587262#comment-13587262
 ] 

Michael McCandless commented on SOLR-3843:
--

+1 to add lucene-codecs to Solr: Lucene has a number of useful codec 
components, growing over time ... I think we should make it as easy as possible 
for users to access these from Solr.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-25 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586607#comment-13586607
 ] 

Robert Muir commented on SOLR-3843:
---

+1

I do think we should make a separate issue/discussion to refactor the 
tests/dependencies (in both ant and maven), but I think we should move forward 
with this for 4.2


> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-25 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586439#comment-13586439
 ] 

Robert Muir commented on SOLR-3843:
---

I dont think the ant build makes any distinction here. 

But yeah there is probably bigger issue / better way to go about it, someting 
like:
* solr core etc should only have the minimal dependencies
* tests using the solr example should somehow be in webapp/test or something.
* webapp depends on these modules like phonetic and codecs.
* the fact that lucene-test-framework brings in codecs anyway is an impl detail

I guess for now I was just looking at us doing things consistently. Even if we 
are consistently wrong :)

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-25 Thread Steve Rowe (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586424#comment-13586424
 ] 

Steve Rowe commented on SOLR-3843:
--

bq. But it would also succeed without analyzers-phonetic. How are they any 
different?

They're not. :)

I think the Ant build should change here: the solr compilation classpath 
shouldn't have things on it that aren't required for compilation.  (This goes 
for the analysis module dependencies in the Maven build too, of course.)

Is there a place where (optional) runtime dependencies are added to the stuff 
that goes into the war?  I haven't looked at this in a while.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-25 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586415#comment-13586415
 ] 

Robert Muir commented on SOLR-3843:
---

{quote}
I put the lucene-codecs dependency on the solr webapp module rather than the 
solr core module because all non-test compilation succeeds without 
lucene-codecs. (The lucene-test-framework pulls lucene-codecs into all Solr 
test classpaths.) And this issue is about packaging of the war: adding the 
dependency to the webapp module fixes exactly the problem.
{quote}

But it would also succeed without analyzers-phonetic. How are they any 
different?

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-25 Thread Steve Rowe (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586412#comment-13586412
 ] 

Steve Rowe commented on SOLR-3843:
--

In the Maven build, it's the solr core module that depends on these analysis 
modules.  Here's the output from {{mvn dependency:tree}} in 
{{maven-build/solr/webapp/}}:

{noformat}
[INFO] --- maven-dependency-plugin:2.4:tree (default-cli) @ solr ---
[INFO] org.apache.solr:solr:war:5.0-SNAPSHOT
[INFO] +- org.apache.solr:solr-core:jar:5.0-SNAPSHOT:compile
[INFO] |  +- org.apache.lucene:lucene-core:jar:5.0-SNAPSHOT:compile
[INFO] |  +- org.apache.lucene:lucene-analyzers-common:jar:5.0-SNAPSHOT:compile
[INFO] |  +- 
org.apache.lucene:lucene-analyzers-kuromoji:jar:5.0-SNAPSHOT:compile
[INFO] |  +- 
org.apache.lucene:lucene-analyzers-morfologik:jar:5.0-SNAPSHOT:compile
[INFO] |  |  \- org.carrot2:morfologik-polish:jar:1.5.5:compile
[INFO] |  | \- org.carrot2:morfologik-stemming:jar:1.5.5:compile
[INFO] |  |\- org.carrot2:morfologik-fsa:jar:1.5.5:compile
[INFO] |  +- 
org.apache.lucene:lucene-analyzers-phonetic:jar:5.0-SNAPSHOT:compile
[INFO] |  +- org.apache.lucene:lucene-highlighter:jar:5.0-SNAPSHOT:compile
[INFO] |  +- org.apache.lucene:lucene-memory:jar:5.0-SNAPSHOT:compile
[INFO] |  +- org.apache.lucene:lucene-misc:jar:5.0-SNAPSHOT:compile
[INFO] |  +- org.apache.lucene:lucene-queryparser:jar:5.0-SNAPSHOT:compile
[INFO] |  +- org.apache.lucene:lucene-spatial:jar:5.0-SNAPSHOT:compile
[INFO] |  |  \- com.spatial4j:spatial4j:jar:0.3:compile
[INFO] |  +- org.apache.lucene:lucene-suggest:jar:5.0-SNAPSHOT:compile
[INFO] |  +- org.apache.lucene:lucene-grouping:jar:5.0-SNAPSHOT:compile
[INFO] |  +- org.apache.lucene:lucene-queries:jar:5.0-SNAPSHOT:compile
[INFO] |  +- commons-codec:commons-codec:jar:1.7:compile
[INFO] |  +- commons-cli:commons-cli:jar:1.2:compile
[INFO] |  +- commons-fileupload:commons-fileupload:jar:1.2.1:compile
[INFO] |  +- commons-io:commons-io:jar:2.1:compile
[INFO] |  +- commons-lang:commons-lang:jar:2.6:compile
[INFO] |  +- com.google.guava:guava:jar:13.0.1:compile
[INFO] |  +- org.codehaus.woodstox:wstx-asl:jar:3.2.7:runtime
[INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.2.3:compile
[INFO] |  |  \- org.apache.httpcomponents:httpcore:jar:4.2.2:compile
[INFO] |  \- org.apache.httpcomponents:httpmime:jar:4.2.3:compile
[INFO] +- org.apache.solr:solr-solrj:jar:5.0-SNAPSHOT:compile
[INFO] |  \- org.apache.zookeeper:zookeeper:jar:3.4.5:compile
[INFO] +- org.apache.lucene:lucene-codecs:jar:5.0-SNAPSHOT:compile
[INFO] +- org.eclipse.jetty.orbit:javax.servlet:jar:3.0.0.v201112011016:provided
[INFO] +- org.slf4j:slf4j-jdk14:jar:1.6.4:runtime (scope not updated to compile)
[INFO] +- org.slf4j:jcl-over-slf4j:jar:1.6.4:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.6.4:compile
[INFO] \- junit:junit:jar:4.10:test
{noformat}

This parallels the Ant build: these analyzer jars are included in the 
"solr.lucene.libs" path, which is included in "solr.base.classpath".

I put the lucene-codecs dependency on the solr webapp module rather than the 
solr core module because *all non-test compilation succeeds without 
lucene-codecs*.  (The lucene-test-framework pulls lucene-codecs into all Solr 
test classpaths.)  And this issue is about packaging of the war: adding the 
dependency to the webapp module fixes exactly the problem.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-25 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586388#comment-13586388
 ] 

Robert Muir commented on SOLR-3843:
---

Thanks Steve: I was actually (and still am i think) uncertain who should have 
the dependency.

If you think about it, its no different than the analysis module cases: but i 
don't see the webapp depending on them here.

At the moment, i understand the reasoning behind the hard dependency to 
analysis-common.jar (because bogusly the factory stuff is there, imo it should 
not be).

But somewhere in maven, something in solr depends on the other analysis modules 
it bundles (e.g. analyzers-phonetic), yet you could remove this jar and solr 
would work fine (as long as you didnt use these particular phonetic analyzers).

So I feel like these analysis components (except common, see above), along with 
codecs.jar, should be depended on in the same place. I guess theoretically they 
are optional dependencies but I don't think we should do that (unless we test 
every possibility with/without optional X,Y,Z, so I think its a bad idea). But 
they are the same in this sense.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch, SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-25 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586265#comment-13586265
 ] 

Robert Muir commented on SOLR-3843:
---

Smoketesting passes with this patch. But i am not sure if anything should/needs 
to be changed in maven.



> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
> Attachments: SOLR-3843.patch
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-17 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580300#comment-13580300
 ] 

Mark Miller commented on SOLR-3843:
---

I've committed an initial attempt at SOLR-4417

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-08 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574533#comment-13574533
 ] 

Mark Miller commented on SOLR-3843:
---

SOLR-4417

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-07 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574212#comment-13574212
 ] 

Mark Miller commented on SOLR-3843:
---

bq. Maybe we can open a separate issue for this?

Yeah, I'll open one.



> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-07 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574207#comment-13574207
 ] 

Robert Muir commented on SOLR-3843:
---

{quote}
I had forgotten about this issue - I think we can fix the problem with iw and 
core reload easily now - I think we should start including these codes and add 
that fix.
{quote}

Maybe we can open a separate issue for this? Ideally it would also fix the same 
trap for similarity too: a really good thing if we can solve it.

As far as codecs.jar, I want to point out additionally that its very strange 
the solr-test-framework.jar is shipped in binary releases (and it depends on 
this codecs jar), but the codecs jar isnt anywhere in the binary package. So 
that means the solr-test-framework.jar is really unusable in the current 
packaging.


> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.2, 5.0
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2012-12-28 Thread Yonik Seeley (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540548#comment-13540548
 ] 

Yonik Seeley commented on SOLR-3843:


As far as size, the lucene codecs jar is only 278K.  It seems pretty "core" 
really, and should be included by default.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.1
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2012-12-28 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540534#comment-13540534
 ] 

Mark Miller commented on SOLR-3843:
---

I had forgotten about this issue - I think we can fix the problem with iw and 
core reload easily now - I think we should start including these codes and add 
that fix.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.1
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2012-12-28 Thread Erik Hatcher (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540527#comment-13540527
 ] 

Erik Hatcher commented on SOLR-3843:


bq. Core codecs and Solr should just work w/o requiring users to copy any jar 
files around.

But if we can just put a  in solrconfig that points to it in the example 
configuration moving forward, does that address this?

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Affects Versions: 4.0
>Reporter: Adrien Grand
>Priority: Critical
> Fix For: 4.1
>
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2012-10-15 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476748#comment-13476748
 ] 

Robert Muir commented on SOLR-3843:
---

+1. My approach so far was to disable this (currently expert) stuff because of 
the problems you get if you add new fields to the schema and reload. But it 
seems bad to not allow anything passed to IndexWriter to interact with 
IndexSchema: if we can do a better job we can make things easier.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Reporter: Adrien Grand
>Priority: Minor
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2012-10-15 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13476345#comment-13476345
 ] 

Mark Miller commented on SOLR-3843:
---

bq. Also I had to turn off per-field codec support by default anyway because 
Solr keeps the IndexWriter open across core reloads (SOLR-3610).

We should probably consider that again. Some of my initial work around this 
area when this first came up was not really up to dealing with it well. Opening 
a new IndexWriter was kind of a hackey operation for replication. Things have 
changed though, and open a new IndexWriter should be first class now. I think 
it's probably fine to reopen it on core reloads.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Reporter: Adrien Grand
>Priority: Minor
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2012-09-15 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456406#comment-13456406
 ] 

Robert Muir commented on SOLR-3843:
---

Also I had to turn off per-field codec support by default anyway because Solr 
keeps the IndexWriter open across core reloads (SOLR-3610). 

Someone must turn it on explicitly by setting their codec factory to 
SchemaCodecFactory in solrconfig.xml (realizing there are tradeoffs).
Same thing goes with Similarity.

Analyzer was fixed by changing solr to always pass the newest Analyzer as a 
param add/updateDocument (so its not really set in the IWConfig),
but the general problem still exists.


> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Reporter: Adrien Grand
>Priority: Minor
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2012-09-15 Thread Uwe Schindler (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456404#comment-13456404
 ] 

Uwe Schindler commented on SOLR-3843:
-

Just to add: If somebody wants to try out codecs, he will be for sure able to 
add the JAR file to his solr_home. We should maybe only add this to a wiki page.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Reporter: Adrien Grand
>Priority: Minor
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2012-09-15 Thread Uwe Schindler (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456403#comment-13456403
 ] 

Uwe Schindler commented on SOLR-3843:
-

-1, they should simply put them into $solr_home/lib where all other plugins 
are. We donÄt want to bloat the WAR file. Solr has support for Lucene's SPI 
loaded from SolrResourceLoader.

> Add lucene-codecs to Solr libs?
> ---
>
> Key: SOLR-3843
> URL: https://issues.apache.org/jira/browse/SOLR-3843
> Project: Solr
>  Issue Type: Wish
>Reporter: Adrien Grand
>Priority: Minor
>
> Solr gives the ability to its users to select the postings format to use on a 
> per-field basis but only Lucene40PostingsFormat is available by default 
> (unless users add lucene-codecs to the Solr lib directory). Maybe we should 
> add lucene-codecs to Solr libs (I mean in the WAR file) so that people can 
> try our non-default postings formats with minimum effort?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org