It actually did. I'll cross check once more and make sure I was doing it
correctly.
Warm Regards,
Tariq
https://mtariq.jux.com/
cloudfront.blogspot.com
On Wed, Feb 13, 2013 at 1:44 AM, Ian Lea wrote:
> "AA-" indexed as a StringField was matched by a TermQuery for "AA"?
> Sounds surprising.
>
>
"AA-" indexed as a StringField was matched by a TermQuery for "AA"?
Sounds surprising.
--
Ian.
On Tue, Feb 12, 2013 at 6:32 PM, Mohammad Tariq wrote:
> Thanks again Ian. I'll make the changes suggested by you. And I am using
> dots because if I search for 'AA' it was giving me 'AA-' as well.
>
Thanks again Ian. I'll make the changes suggested by you. And I am using
dots because if I search for 'AA' it was giving me 'AA-' as well.
Warm Regards,
Tariq
https://mtariq.jux.com/
cloudfront.blogspot.com
On Tue, Feb 12, 2013 at 9:50 PM, Ian Lea wrote:
> From a glance it looks fine. I don't
>From a glance it looks fine. I don't see what you gain by adding dots
- you are using a TermQuery which will only do exact matches. Since
you're using StringField your text won't be tokenized but stored as
is. I see you're searching on a mixed case term - that's fine as long
as you don't expect
Hello Ian,
*
*
I started as directed by you and created the index. Here is a small
piece of code which I have written. Please have a look over it :
*
*
*public static void main(String[] args) throws IOException, ParseException {
*
* *
*//Specify the analyzer for tokenizing text. The same
Hey Ian. Thank you so much for the quick reply. I'll definitely give Lucene
a shot. I'll start off with it and get back to you in case of any problem.
Many thanks.
Warm Regards,
Tariq
https://mtariq.jux.com/
cloudfront.blogspot.com
On Mon, Feb 11, 2013 at 10:03 PM, Ian Lea wrote:
> You can ce
You can certainly use lucene for this, and it will be blindingly fast
even if you use a disk based index.
Just index documents as you've laid it out, with the field you want to
search on added as indexable and the others stored.
I've never used Guava Table so can't comment on that, but with only