Trouble with Windows / Tomcat install

2007-09-01 Thread Robin Bonin
Hi all, I followed the instructions in the wiki here,
http://wiki.apache.org/solr/SolrTomcat
I know Tomcat is running, but when I pull up my solr admin page, I get
the following error.


description The server encountered an internal error () that prevented
it from fulfilling this request.

exception org.apache.jasper.JasperException

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:476)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:371)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause javax.servlet.ServletException

org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846)

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779)
org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:313)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

root cause java.lang.NoClassDefFoundError
org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:80)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

Apache Tomcat/5.5.23


Wiki, ASF =?

2007-09-01 Thread Robin Bonin
I wanted to make an entry in the wiki, and when creating an account,
is asks, ASF = ?
I am at a loss, what does that mean?


Re: Trouble with Windows / Tomcat install

2007-09-01 Thread Robin Bonin
I tried both solr-1.1 and 1.2, I was having more trouble with 1.2, so
i went back to 1.1.
I did copy the war from dist, and renamed to just solr, but I have no
xml file for solr in conf.
I was using the java 'option' -Dsolr.solr.home=C:\Solr\

I just removed the solr war and folder from web apps and moved to
tomcat\shared\lib and created a solr.xml file under locahost with the
correct path to the war,and solr folder, and I get the same error.

I tried changing the paths in the XML to the wrong ones to watch how
the message changed and I found the problem (mid email)...

the step 'Copy the contents of the example directory
c:\temp\solrZip\example\solr\ to c:\web\solr\'

I had copied everything from the example directory, not example\solr.
so the path was a directory off

Thanks for your help.


On 9/1/07, Jae Joo <[EMAIL PROTECTED]> wrote:
> did you build solr.xml in $CATALINA_HOME/conf//Catalina/localhost ?
> it yes, please double check the directory information.
> And did you copy the apache-solr-1.2.0.war to solr.war in dist directory?
>
> Jae
>
> On 9/1/07, Robin Bonin <[EMAIL PROTECTED]> wrote:
> >
> > Hi all, I followed the instructions in the wiki here,
> > http://wiki.apache.org/solr/SolrTomcat
> > I know Tomcat is running, but when I pull up my solr admin page, I get
> > the following error.
> >
> >
> > description The server encountered an internal error () that prevented
> > it from fulfilling this request.
> >
> > exception org.apache.jasper.JasperException
> > org.apache.jasper.servlet.JspServletWrapper.handleJspException(
> > JspServletWrapper.java:476)
> > org.apache.jasper.servlet.JspServletWrapper.service(
> > JspServletWrapper.java:371)
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > JspServlet.java:315)
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> >
> > root cause javax.servlet.ServletException
> > org.apache.jasper.runtime.PageContextImpl.doHandlePageException(
> > PageContextImpl.java:846)
> > org.apache.jasper.runtime.PageContextImpl.handlePageException(
> > PageContextImpl.java:779)
> > org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:313)
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > org.apache.jasper.servlet.JspServletWrapper.service(
> > JspServletWrapper.java:328)
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > JspServlet.java:315)
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> >
> > root cause java.lang.NoClassDefFoundError
> > org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:80)
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > org.apache.jasper.servlet.JspServletWrapper.service(
> > JspServletWrapper.java:328)
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > JspServlet.java:315)
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> >
> > Apache Tomcat/5.5.23
> >
>


Re: Trouble with Windows / Tomcat install

2007-09-01 Thread Robin Bonin
Sorry if my response was long.. I have it working now, thanks

On 9/1/07, Jae Joo <[EMAIL PROTECTED]> wrote:
> Solr and tomcat connection does not require any copies and moves of jar
> file. All of the jar files are in solr.war file.
>
> Can you send your solr.xml file?
> If you use "\" instead of "/", you have to your "\\" to point the solr
> instance in solr.xml conf.
>
> Jae
>
> On 9/1/07, Robin Bonin <[EMAIL PROTECTED]> wrote:
> >
> > I tried both solr-1.1 and 1.2, I was having more trouble with 1.2, so
> > i went back to 1.1.
> > I did copy the war from dist, and renamed to just solr, but I have no
> > xml file for solr in conf.
> > I was using the java 'option' -Dsolr.solr.home=C:\Solr\
> >
> > I just removed the solr war and folder from web apps and moved to
> > tomcat\shared\lib and created a solr.xml file under locahost with the
> > correct path to the war,and solr folder, and I get the same error.
> >
> > I tried changing the paths in the XML to the wrong ones to watch how
> > the message changed and I found the problem (mid email)...
> >
> > the step 'Copy the contents of the example directory
> > c:\temp\solrZip\example\solr\ to c:\web\solr\'
> >
> > I had copied everything from the example directory, not example\solr.
> > so the path was a directory off
> >
> > Thanks for your help.
> >
> >
> > On 9/1/07, Jae Joo <[EMAIL PROTECTED]> wrote:
> > > did you build solr.xml in $CATALINA_HOME/conf//Catalina/localhost ?
> > > it yes, please double check the directory information.
> > > And did you copy the apache-solr-1.2.0.war to solr.war in dist
> > directory?
> > >
> > > Jae
> > >
> > > On 9/1/07, Robin Bonin <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi all, I followed the instructions in the wiki here,
> > > > http://wiki.apache.org/solr/SolrTomcat
> > > > I know Tomcat is running, but when I pull up my solr admin page, I get
> > > > the following error.
> > > >
> > > >
> > > > description The server encountered an internal error () that prevented
> > > > it from fulfilling this request.
> > > >
> > > > exception org.apache.jasper.JasperException
> > > > org.apache.jasper.servlet.JspServletWrapper.handleJspException
> > (
> > > > JspServletWrapper.java:476)
> > > > org.apache.jasper.servlet.JspServletWrapper.service(
> > > > JspServletWrapper.java:371)
> > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > > > JspServlet.java:315)
> > > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java
> > :265)
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > > >
> > > > root cause javax.servlet.ServletException
> > > >
> > org.apache.jasper.runtime.PageContextImpl.doHandlePageException(
> > > > PageContextImpl.java:846)
> > > > org.apache.jasper.runtime.PageContextImpl.handlePageException(
> > > > PageContextImpl.java:779)
> > > > org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:313)
> > > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java
> > :98)
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > > > org.apache.jasper.servlet.JspServletWrapper.service(
> > > > JspServletWrapper.java:328)
> > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > > > JspServlet.java:315)
> > > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java
> > :265)
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > > >
> > > > root cause java.lang.NoClassDefFoundError
> > > > org.apache.jsp.admin.index_jsp._jspService(index_jsp.java:80)
> > > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java
> > :98)
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > > > org.apache.jasper.servlet.JspServletWrapper.service(
> > > > JspServletWrapper.java:328)
> > > > org.apache.jasper.servlet.JspServlet.serviceJspFile(
> > > > JspServlet.java:315)
> > > > org.apache.jasper.servlet.JspServlet.service(JspServlet.java
> > :265)
> > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> > > >
> > > > Apache Tomcat/5.5.23
> > > >
> > >
> >
>


My Solr index keeps growing

2007-09-10 Thread Robin Bonin
I had created a new index over the weekend, and the final size was a
few hundred megs.
I just checked and now the index folder is up to 1.7 Gig. Is this due
to results being cached? can I set a limit to how large the index will
grow? is there anything else that could be effecting this file size?

Thanks
Robin


Re: My Solr index keeps growing

2007-09-10 Thread Robin Bonin
Yes I am talking about the files in the solr/data/index folder.
So that folder should stay the same size unless documents are added,
and I guess commit and optimize are run.

I'll have to watch my app and make sure it is not adding some extra
stuff to the index I am not aware of.

On 9/10/07, Yonik Seeley <[EMAIL PROTECTED]> wrote:
> On 9/10/07, Robin Bonin <[EMAIL PROTECTED]> wrote:
> > I had created a new index over the weekend, and the final size was a
> > few hundred megs.
> > I just checked and now the index folder is up to 1.7 Gig. Is this due
> > to results being cached? can I set a limit to how large the index will
> > grow? is there anything else that could be effecting this file size?
>
> "index" normally refers to the index files on the disk... is this what you 
> mean?
> If so, it shouldn't grow unless new documents are added.
>
> -Yonik
>


Planning suggestions please

2006-11-01 Thread Robin Bonin

I am new to solr, and I have an idea of what I would like my end result to
be. I want to run my plan by the list and make sure that I am approaching
this in the best manor.

* I have items in a database, each item has multiple tags (keywords).

* I would like to preform a search, then get a unique list of all the tags
that show up in the result set.

* The user could then select a tag, and a new search would be preformed, and
a new smaller list of tags would show up
.

The only way that I can think of doing this, is executing 2 searches, the
initial one selecting the top 10 results to display.

The second search would select just the tag strings for all the results. I
would then have to loop though all the keywords testing to see if it was
somewhere in the result (regular expression).

Is there a better way to preform this task?


Re: Planning suggestions please

2006-11-01 Thread Robin Bonin

That is exactly what I was looking for.
I thought it was possible, just didn't know where to find it.

On 11/1/06, Yonik Seeley <[EMAIL PROTECTED]> wrote:


Hi Robin,
Solr has built-in simple faceted searching that sounds like it does
exactly what you are looking for:
http://wiki.apache.org/solr/SimpleFacetParameters

If you haven't yet, go through the little Solr tutorial here:
http://incubator.apache.org/solr/tutorial.html
(unfortunately, we haven't added highlighting or faceting stuff to the
tutorial).

Then try adding some faceting parameters based on the first link I
provided above.

-Yonik

On 11/1/06, Robin Bonin <[EMAIL PROTECTED]> wrote:
> I am new to solr, and I have an idea of what I would like my end result
to
> be. I want to run my plan by the list and make sure that I am
approaching
> this in the best manor.
>
> * I have items in a database, each item has multiple tags (keywords).
>
> * I would like to preform a search, then get a unique list of all the
tags
> that show up in the result set.
>
> * The user could then select a tag, and a new search would be preformed,
and
> a new smaller list of tags would show up
> .
>
> The only way that I can think of doing this, is executing 2 searches,
the
> initial one selecting the top 10 results to display.
>
> The second search would select just the tag strings for all the results.
I
> would then have to loop though all the keywords testing to see if it was
> somewhere in the result (regular expression).
>
> Is there a better way to preform this task?



Is there a relevance to text matches?

2006-12-01 Thread Robin Bonin

The company I work for us currently using a google mini. I would like to
migrate to solr for several features solr has over the mini.

One problem I have run into deals with relevance of text in the search
results.
I wrote a simple app to crawl our website and submit the data to the solr
index.
I can preform a search, but the results are not in an acceptable order.
When I search for Nike, my first 20 items are all non-nike products where
someone has mentioned a nike product in the review.
The term Nike in a product title should have a lot higher relevance, than
the term Nike somewhere in a product review.
I would like to keep indexing the reviews, but I need to specify the title
at a much higher rate. Is that possible?
I can split the values into their own fields if that helps.

Thanks
Robin