Re: A search with special characters in Solr

2010-11-09 Thread Mary Jo Sminkey
You might have them tag like this ~word~, then parse for that when building your search. Not sure what you mean by parsing for it? When I use a word like this in my data (with tildes around it), and then search for it (including the tildes), I get no results back from Solr. It does match

Re: A search with special characters in Solr

2010-11-09 Thread Raymond Camden
I'm confused - why not just add a form field to their content editor where they can enter the tags there? On Mon, Nov 8, 2010 at 11:08 AM, Mary Jo Sminkey mary...@cfwebstore.com wrote: I have an unusual request from my client, they want to be able to have their people in the field put tags

Re: A search with special characters in Solr

2010-11-09 Thread Mary Jo Sminkey
I'm confused - why not just add a form field to their content editor where they can enter the tags there? Unfortunately, we have no access to that system, I can only pull the data that has been entered into it. --- Mary Jo

Re: A search with special characters in Solr

2010-11-09 Thread Raymond Camden
Ok - so then if you use tildes like Muareen suggested, you can parse for them when you index the data. Do you have control over the code that does the indexing? On Tue, Nov 9, 2010 at 9:27 AM, Mary Jo Sminkey mary...@cfwebstore.com wrote: I'm confused - why not just add a form field to their

Re: A search with special characters in Solr

2010-11-09 Thread Maureen
What I mean by parsing is that you use the tildes to determine what to search for by extracting what is between them and using that to build your search. On Tue, Nov 9, 2010 at 6:55 AM, Mary Jo Sminkey mary...@cfwebstore.com wrote: You might have them  tag like this  ~word~, then parse for

Re: A search with special characters in Solr

2010-11-09 Thread Mary Jo Sminkey
Ok - so then if you use tildes like Muareen suggested, you can parse for them when you index the data. Do you have control over the code that does the indexing? Yes, I'm pulling all the data and then indexing it to make it available for my client to search, so they can find the specific records

Re: A search with special characters in Solr

2010-11-09 Thread Mary Jo Sminkey
What I mean by parsing is that you use the tildes to determine what to search for by extracting what is between them and using that to build your search. That's not going to give me what I need, because I need to find *only* the results that use the tildes, not the records that might just

Re: A search with special characters in Solr

2010-11-09 Thread Raymond Camden
Right, so parse the text for the ~ words. You can use rematch to get them easily enough. You can then use that list of words as your body when you add it to your index. On Tue, Nov 9, 2010 at 12:27 PM, Mary Jo Sminkey mary...@cfwebstore.com wrote: What I mean by parsing is that you use the

Re: A search with special characters in Solr

2010-11-09 Thread Mary Jo Sminkey
Right, so parse the text for the ~ words. You can use rematch to get them easily enough. You can then use that list of words as your body when you add it to your index. Well, that would work I guess if they *only* wanted to search for those words, but they want to be able to search on any of

A search with special characters in Solr

2010-11-08 Thread Mary Jo Sminkey
I have an unusual request from my client, they want to be able to have their people in the field put tags in their reports that they can search on, using some kind of special character to tag a word as being one of these special search phrases. They wanted to use asterisks to do this (such as

Re: A search with special characters in Solr

2010-11-08 Thread Maureen
You might have them tag like this ~word~, then parse for that when building your search. On Mon, Nov 8, 2010 at 9:08 AM, Mary Jo Sminkey mary...@cfwebstore.com wrote: I have an unusual request from my client, they want to be able to have their people in the field put tags in their reports