So I ended up trying to work something with stop words to remove the "-" and
some other character from the term. I'm using the snowballanalyzer for both
indexing and searching.
For some reason the stopwords did not work so I made a custom filter which
did the trick.
samd
Hi,
I'm encountering an issue where expected search results are not being found
as in the following example
I have two values
name-test-1234
name-1234-test
When a search for 'name' is done only the first result is found.
If I had a wildcard to the search i.e. name* both will be found.
I would
t; If you require multiple terms on multiple fields, just search with
> OR clauses.
>
> The above clearly shows that I don't understand your problem at all,
> so how about a few examples?
>
> Best
> Erick
>
> On Mon, Apr 27, 2009 at 10:35 AM, samd wrote:
&g
f why you need to do this would
> lead to a better answer
>
> Best
> Erick
>
> On Sun, Apr 26, 2009 at 11:41 PM, samd wrote:
>
>>
>> I have 2500 documents and need to have a matches with the very lowest
>> rank
>> returned
>> How can I get
ll, you can always implement your own HitCollector and just take
> the end of the list.
>
> But perhaps a fuller explanation of why you need to do this would
> lead to a better answer
>
> Best
> Erick
>
> On Sun, Apr 26, 2009 at 11:41 PM, samd wrote:
>
>>
>
I have 2500 documents and need to have a matches with the very lowest rank
returned
How can I get this? It is very important.
When I look at the index in look I see the fields with my values but they
all have low rank.
When I search they don't show in the results.
--
View this message in contex
Where can I get the Lucene source for the Snowball implementation.
I need to be able to search for words that are alphanumeric and this does
not work with the current snowballanalyzer.
If there is an alternative to this then that would be greatly appreciated.
Thanks.
--
View this message in con
en a really useful bit of information in
> your original post
>
> Erick
>
> On Tue, Oct 21, 2008 at 4:24 PM, samd <[EMAIL PROTECTED]> wrote:
>
>>
>> I'm using Hibernate Search and now looking I think it is more related to
>> this. Hibernate Search in
I'm using Hibernate Search and now looking I think it is more related to
this. Hibernate Search indexing and parsing is based on Lucene but it is
tied to the entities unless you use projections.
I guess I'll need to go down this road for now.
Thanks
--
View this message in context:
http://www.
at indexing time, the extra data is lost and you can't regain it.
> If you don't stem at index time, you can't very well get stemmed
> matches at query time.
>
> Best
> Erick
>
> On Tue, Oct 21, 2008 at 6:45 AM, samd <[EMAIL PROTECTED]> wrote:
>
>
eld to the
search parameters in order to make the results unique.
Daniel Noll-3 wrote:
>
> samd wrote:
>> I have field for example say "foo" I need to match exactly foo but there
>> is
>> also another field for exampled called "foo1"
>>
>> Wh
I have field for example say "foo" I need to match exactly foo but there is
also another field for exampled called "foo1"
What I want is a PhraseQuery so I surround foo with quotes before it gets
passed to the QueryParser.parse method. However I get back a TermQuery and
the values that match foo1
w that would
> work. Field *values*, sure
>
> See http://lucene.apache.org/java/docs/queryparsersyntax.html,
> search for "escape"
>
> On Mon, Oct 6, 2008 at 3:54 PM, samd <[EMAIL PROTECTED]> wrote:
>
>>
>> It appears if a search field val
It appears if a search field value entered contains a ':' causes some issues
since if I have a field named
a.b.c and the user enters a value of foo the constructed query through the
api generates something like
+a.b.c:foo
If they enter in a value of foo:bar
I get +foo:bar where foo is substitut
>
>
> Best
> Erick
>
> On Mon, Aug 4, 2008 at 1:23 PM, samd <[EMAIL PROTECTED]> wrote:
>
>>
>> I have a search which needs to find dates which are specified in two
>> different fields.
>>
>> For an example:
>>
>> I have a Java
I have a search which needs to find dates which are specified in two
different fields.
For an example:
I have a Java object with a date field that starts the time something
started and another that specifies the time that something ended.
I need to do a date search that the range is specified
d to tokenized, and I think you
> will see the results you are looking for.
>
> Matt
>
> samd wrote:
>> Oh and the field is not tokenized and stored.
>>
>
>
> -
> To unsubscr
; This is almost certainly a coding error, and it's impossible to help
> without
> seeing some code. Please pust:
>
> 1> your indexing code (suitably pared down)
> 2> your search code along with a sample query
>
> Best
> Erick
>
> On Thu, Jul 24, 2008
Oh and the field is not tokenized and stored.
--
View this message in context:
http://www.nabble.com/Luke-shows-in-top-terms-but-no-search-results---tp18638011p18638323.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.
--
ard Concourse, J42E
> Alpharetta, GA 30005
> desk: 770 740 6951
> email: [EMAIL PROTECTED]
>
>
>
> samd <[EMAIL PROTECTED]>
> 07/24/2008 02:45 PM
> Please respond to
> java-user@lucene.apache.org
>
>
> To
> java-user@luc
Can someone explain this to me?
After indexing I can see the terms I expect in the top terms using Luke but
then when I search I get no results??
This is really bizarre and is blocker for me.
Thanks.
--
View this message in context:
http://www.nabble.com/Luke-shows-in-top-terms-but-no-search-
21 matches
Mail list logo