Re: "lucene.vector" function implementation
Hi Andrew, Yes, I did a clone from https://github.com/apache/mahout.git and navigated to root folder (mahout) and did mvn clean install. Did you mean navigate to bin directory and ./mahout which mahout (this command doesn't exist) ./mahout -h returns list of functions available, among them, I do see lucene.vector: : Generate Vectors from a Lucene index On Fri, Sep 16, 2016 at 11:17 PM, Andrew Musselman < andrew.mussel...@gmail.com> wrote: > That is, if you're running the command `mahout`, if you then then run > `which mahout` do you get the version in bin/mahout, or your (I'm assuming) > pre-installed version? > > See https://mahout.apache.org/users/sparkbindings/faq.html and > https://mahout.apache.org/users/sparkbindings/play-with-shell.html for > some > tips on setting environment variables, e.g.: > > export MAHOUT_HOME=[directory into which you checked out Mahout] > export SPARK_HOME=[directory where you unpacked Spark] > export MASTER=[url of the Spark master] > > On Fri, Sep 16, 2016 at 11:06 PM, Andrew Musselman < > andrew.mussel...@gmail.com> wrote: > > > I'm wondering how this is still working for you since this was removed in > > 0.11.1 per https://issues.apache.org/jira/browse/MAHOUT-1782 but someone > > else may know more. > > > > You did rebuild the code and are running that fresh version of `mahout` > in > > `bin`, right? > > > > On Fri, Sep 16, 2016 at 10:52 PM, Reth RM wrote: > > > >> The functionality itself works on latest mahout_master branch(0.12.3), > so > >> its likely moved to other class-package structure. Any pointers to which > >> class is it moved? > >> > >> I can file a jira to update docs. > >> > >> On Fri, Sep 16, 2016 at 9:06 PM, Andrew Musselman < > >> andrew.mussel...@gmail.com> wrote: > >> > >> > We are up to version 0.12 so 0.9 is well out of date. That may have > >> moved > >> > into another package or been deleted, not sure. > >> > > >> > It may indicate we need to update that page; thank you for letting us > >> know > >> > and if you'd like to file a bug in JIRA please do. > >> > > >> > On Friday, September 16, 2016, Reth RM wrote: > >> > > >> > > I'm on mahout-master version. It looks like there was an independent > >> > class > >> > > "SequenceFilesFromLuceneStorage" under org.apache.mahout.text in > 0.9 > >> > > version but not on the master copy I pulled from git. Is it > >> deprecated or > >> > > removed or am I missing something? > >> > > > >> > > > >> > > On Fri, Sep 16, 2016 at 4:33 PM, Reth RM >> > > > wrote: > >> > > > >> > > > Could you please point me to the main class for "lucene.vector" > >> > > > implementation? > >> > > > > >> > > > As per docs[1], "The main code for driving this is the driver > >> program > >> > > > located in the org.apache.mahout.utils.vectors package." I find > >> the > >> > > > utils in sub modules but not at the root, so bit confused. > >> > > > > >> > > > [1]https://mahout.apache.org/users/basics/creating-vectors- > >> > > from-text.html > >> > > > > >> > > > >> > > >> > > > > >
Re: "lucene.vector" function implementation
That is, if you're running the command `mahout`, if you then then run `which mahout` do you get the version in bin/mahout, or your (I'm assuming) pre-installed version? See https://mahout.apache.org/users/sparkbindings/faq.html and https://mahout.apache.org/users/sparkbindings/play-with-shell.html for some tips on setting environment variables, e.g.: export MAHOUT_HOME=[directory into which you checked out Mahout] export SPARK_HOME=[directory where you unpacked Spark] export MASTER=[url of the Spark master] On Fri, Sep 16, 2016 at 11:06 PM, Andrew Musselman < andrew.mussel...@gmail.com> wrote: > I'm wondering how this is still working for you since this was removed in > 0.11.1 per https://issues.apache.org/jira/browse/MAHOUT-1782 but someone > else may know more. > > You did rebuild the code and are running that fresh version of `mahout` in > `bin`, right? > > On Fri, Sep 16, 2016 at 10:52 PM, Reth RM wrote: > >> The functionality itself works on latest mahout_master branch(0.12.3), so >> its likely moved to other class-package structure. Any pointers to which >> class is it moved? >> >> I can file a jira to update docs. >> >> On Fri, Sep 16, 2016 at 9:06 PM, Andrew Musselman < >> andrew.mussel...@gmail.com> wrote: >> >> > We are up to version 0.12 so 0.9 is well out of date. That may have >> moved >> > into another package or been deleted, not sure. >> > >> > It may indicate we need to update that page; thank you for letting us >> know >> > and if you'd like to file a bug in JIRA please do. >> > >> > On Friday, September 16, 2016, Reth RM wrote: >> > >> > > I'm on mahout-master version. It looks like there was an independent >> > class >> > > "SequenceFilesFromLuceneStorage" under org.apache.mahout.text in 0.9 >> > > version but not on the master copy I pulled from git. Is it >> deprecated or >> > > removed or am I missing something? >> > > >> > > >> > > On Fri, Sep 16, 2016 at 4:33 PM, Reth RM > > > > wrote: >> > > >> > > > Could you please point me to the main class for "lucene.vector" >> > > > implementation? >> > > > >> > > > As per docs[1], "The main code for driving this is the driver >> program >> > > > located in the org.apache.mahout.utils.vectors package." I find >> the >> > > > utils in sub modules but not at the root, so bit confused. >> > > > >> > > > [1]https://mahout.apache.org/users/basics/creating-vectors- >> > > from-text.html >> > > > >> > > >> > >> > >
Re: "lucene.vector" function implementation
I'm wondering how this is still working for you since this was removed in 0.11.1 per https://issues.apache.org/jira/browse/MAHOUT-1782 but someone else may know more. You did rebuild the code and are running that fresh version of `mahout` in `bin`, right? On Fri, Sep 16, 2016 at 10:52 PM, Reth RM wrote: > The functionality itself works on latest mahout_master branch(0.12.3), so > its likely moved to other class-package structure. Any pointers to which > class is it moved? > > I can file a jira to update docs. > > On Fri, Sep 16, 2016 at 9:06 PM, Andrew Musselman < > andrew.mussel...@gmail.com> wrote: > > > We are up to version 0.12 so 0.9 is well out of date. That may have moved > > into another package or been deleted, not sure. > > > > It may indicate we need to update that page; thank you for letting us > know > > and if you'd like to file a bug in JIRA please do. > > > > On Friday, September 16, 2016, Reth RM wrote: > > > > > I'm on mahout-master version. It looks like there was an independent > > class > > > "SequenceFilesFromLuceneStorage" under org.apache.mahout.text in 0.9 > > > version but not on the master copy I pulled from git. Is it deprecated > or > > > removed or am I missing something? > > > > > > > > > On Fri, Sep 16, 2016 at 4:33 PM, Reth RM > > > wrote: > > > > > > > Could you please point me to the main class for "lucene.vector" > > > > implementation? > > > > > > > > As per docs[1], "The main code for driving this is the driver program > > > > located in the org.apache.mahout.utils.vectors package." I find the > > > > utils in sub modules but not at the root, so bit confused. > > > > > > > > [1]https://mahout.apache.org/users/basics/creating-vectors- > > > from-text.html > > > > > > > > > >
Re: "lucene.vector" function implementation
The functionality itself works on latest mahout_master branch(0.12.3), so its likely moved to other class-package structure. Any pointers to which class is it moved? I can file a jira to update docs. On Fri, Sep 16, 2016 at 9:06 PM, Andrew Musselman < andrew.mussel...@gmail.com> wrote: > We are up to version 0.12 so 0.9 is well out of date. That may have moved > into another package or been deleted, not sure. > > It may indicate we need to update that page; thank you for letting us know > and if you'd like to file a bug in JIRA please do. > > On Friday, September 16, 2016, Reth RM wrote: > > > I'm on mahout-master version. It looks like there was an independent > class > > "SequenceFilesFromLuceneStorage" under org.apache.mahout.text in 0.9 > > version but not on the master copy I pulled from git. Is it deprecated or > > removed or am I missing something? > > > > > > On Fri, Sep 16, 2016 at 4:33 PM, Reth RM > > wrote: > > > > > Could you please point me to the main class for "lucene.vector" > > > implementation? > > > > > > As per docs[1], "The main code for driving this is the driver program > > > located in the org.apache.mahout.utils.vectors package." I find the > > > utils in sub modules but not at the root, so bit confused. > > > > > > [1]https://mahout.apache.org/users/basics/creating-vectors- > > from-text.html > > > > > >
Re: "lucene.vector" function implementation
We are up to version 0.12 so 0.9 is well out of date. That may have moved into another package or been deleted, not sure. It may indicate we need to update that page; thank you for letting us know and if you'd like to file a bug in JIRA please do. On Friday, September 16, 2016, Reth RM wrote: > I'm on mahout-master version. It looks like there was an independent class > "SequenceFilesFromLuceneStorage" under org.apache.mahout.text in 0.9 > version but not on the master copy I pulled from git. Is it deprecated or > removed or am I missing something? > > > On Fri, Sep 16, 2016 at 4:33 PM, Reth RM > wrote: > > > Could you please point me to the main class for "lucene.vector" > > implementation? > > > > As per docs[1], "The main code for driving this is the driver program > > located in the org.apache.mahout.utils.vectors package." I find the > > utils in sub modules but not at the root, so bit confused. > > > > [1]https://mahout.apache.org/users/basics/creating-vectors- > from-text.html > > >
Re: "lucene.vector" function implementation
I'm on mahout-master version. It looks like there was an independent class "SequenceFilesFromLuceneStorage" under org.apache.mahout.text in 0.9 version but not on the master copy I pulled from git. Is it deprecated or removed or am I missing something? On Fri, Sep 16, 2016 at 4:33 PM, Reth RM wrote: > Could you please point me to the main class for "lucene.vector" > implementation? > > As per docs[1], "The main code for driving this is the driver program > located in the org.apache.mahout.utils.vectors package." I find the > utils in sub modules but not at the root, so bit confused. > > [1]https://mahout.apache.org/users/basics/creating-vectors-from-text.html >