You can append it in your middleware, or try the EdgeNGramTokenizer [1]. If
you're going for the latter, don't forget to reindex and expect a larger index.
[1]:
http://lucene.apache.org/java/2_9_0/api/all/org/apache/lucene/analysis/ngram/EdgeNGramTokenizer.html
-Original message-
From
Thank you everyone for responses. I guess all was due to may little knowledge
about schema.xml.
If you create new elements you need to change copy mechanism so that default
search can work or you should change your query to include new element.
Thanks again.
hossman wrote:
>
>
> : Once I post
: Once I post it I see following entry in my catalina.out. However when I go
: to solr search page and try to search any token in content sectionI do not
: get any thing returned. basically
:
:
the logs you posted don't inlcude anything about the query you executed,
so it's hard to guess what
Not sure what's wrong, but I'll share some of the debugging I did when
getting my implementation to work these past 2 weeks:
1) Change schema.xml to suit your needs. I basically just changed the
fields to ones I needed and didn't touch the fieldtypes at first.
2) Stop SOLR, delete the index, and
I checked docsPending. I get following
commits : 0
autocommit maxDocs : 1
autocommit maxTime : 1000ms
autocommits : 0
optimizes : 0
docsPending : 0
deletesPending : 0
adds : 0
deletesById : 0
deletesByQuery : 0
Most surprising is Once I add document I see numDocs and maxDoc increasing.
But I
Sounds like the docs aren't committed maybe?
Go to /solr/admin/stats.jsp and look for:
docsPending : X
Where X is the number of docs that aren't committed yet.
-Reece
On Fri, Feb 22, 2008 at 3:07 PM, x8nnn <[EMAIL PROTECTED]> wrote:
>
> I tried to verify the readerdir. Which is fine.
> Ins
I tried to verify the readerdir. Which is fine.
Inside index dir I can even see a file created _7.fdt which has all the
content of text.
Now I am surprised why I am not getting it in search?
Santos
x8nnn wrote:
>
> Recently I installed Solr.
>
> I made changes to schema.xml, added following ent